Commit 7d392377 authored by Nico Schottelius's avatar Nico Schottelius

Start xscreensaver if it is not running already

parent d975b720
......@@ -9,6 +9,9 @@
# i3lock -i ~/.background.png --dpms --nofork
# try to start - if it already runs it will just exit
xscreensaver &
if ! pgrep xscreensaver; then
xscreensaver -no-splash &
sleep 1
fi
xscreensaver-command -lock
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment