cfg/bin/lock
Knut Ahlers 93dfb32d24
Move lock-script to public dotfiles
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-12-12 00:10:51 +01:00

5 lines
90 B
Bash
Executable file

#!/bin/bash
set -euo pipefail
xset dpms force off
pgrep i3lock || i3lock -e -f -c 000000