mostly t11 fixes
[distro-setup] / xl
1 #!/bin/bash
2
3 if pgrep gnome-screensav &>/dev/null; then
4 # this command actually starts gnome-screensaver if it isn\'t running.
5 # lololol, what crap
6 gnome-screensaver-command --exit &>/dev/null
7 fi
8 mate-screensaver-command --exit &>/dev/null
9 if ! pidof xscreensaver; then
10 pushd /
11 xscreensaver &
12 popd
13 # 1 was not long enough
14 sleep 3
15 fi
16 xscreensaver-command -activate