diff options
Diffstat (limited to 'x11-misc/myi3lock/files')
-rwxr-xr-x | x11-misc/myi3lock/files/myi3lock | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/x11-misc/myi3lock/files/myi3lock b/x11-misc/myi3lock/files/myi3lock index 9bc6126..0572cbc 100755 --- a/x11-misc/myi3lock/files/myi3lock +++ b/x11-misc/myi3lock/files/myi3lock @@ -4,16 +4,15 @@ BACKS="/usr/share/backgrounds" if [ "$1" != "--login" ]; then # Set pidgin to offline purple-remote 'setstatus?status=offline' - # Power off screen - xset dpms 1 2 10 + xset +dpms dpms 5 5 5 + ( sleep 3; xset dpms force off ) & fi # Run lock i3lock -n -c 000000 -i "$(shuf -n1 -e "$BACKS"/*)" -xset dpms 0 0 0 - if [ "$1" != "--login" ]; then + xset dpms 0 0 0 # Set pidgin to available purple-remote 'setstatus?status=available' fi |