nsbin/lock-screen
2017-07-25 11:41:31 +02:00

17 lines
369 B
Bash
Executable file

#!/bin/sh
# i3lock -c fe0000 -d
#~/b/i3lock/i3lock -t -i /home/users/nico/oeffentlich/bilder/linux-tux-bsd/think_linux_kachel.png
# sleep 2
# xset dpms force off
# i3lock -i ~/.background.png --dpms --nofork
# try to start - if it already runs it will just exit
if ! pgrep xscreensaver; then
xscreensaver -no-splash &
sleep 1
fi
xscreensaver-command -lock