Move lock-script to public dotfiles

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2018-12-12 00:10:51 +01:00
parent 58acf14d26
commit 93dfb32d24
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

5
bin/lock Executable file
View file

@ -0,0 +1,5 @@
#!/bin/bash
set -euo pipefail
xset dpms force off
pgrep i3lock || i3lock -e -f -c 000000