lock-screen 409 Bytes
Newer Older
1 2
#!/bin/sh

3 4
# i3lock -c fe0000 -d

Nico Schottelius's avatar
Nico Schottelius committed
5 6 7 8
i3lock -t -i ~/.background.png

exit 0

Nico Schottelius's avatar
Nico Schottelius committed
9
#~/b/i3lock/i3lock -t -i /home/users/nico/oeffentlich/bilder/linux-tux-bsd/think_linux_kachel.png
10
# sleep 2
Nico Schottelius's avatar
Nico Schottelius committed
11
# xset dpms force off
12 13 14 15

# i3lock -i ~/.background.png --dpms --nofork

# try to start - if it already runs it will just exit
16 17 18 19
if ! pgrep xscreensaver; then
    xscreensaver -no-splash &
    sleep 1
fi
20 21

xscreensaver-command -lock