Sophie Hirn 3 years ago
parent
commit
943648732c
1 changed files with 8 additions and 1 deletions
  1. +8
    -1
      .local/bin/lock

+ 8
- 1
.local/bin/lock View File

@@ -13,4 +13,11 @@ else

fi

i3lock -i "$HOME/$f"
function revert {
xset -dpms
}

trap revert HUP INT TERM
xset +dpms dpms 5 5 5
i3lock -n -i "$HOME/$f"
revert

Loading…
Cancel
Save