123456789101112131415161718 |
- --- scripts/xflock4.orig 2016-02-02 10:40:15.726495183 -0700
- +++ scripts/xflock4 2016-02-02 10:43:17.548061336 -0700
- @@ -24,10 +24,12 @@
- PATH=/bin:/usr/bin
- export PATH
-
- -# Lock by xscreensaver or gnome-screensaver, if a respective daemon is running
- +# Lock by xscreensaver, gnome-screensaver or light-locker, if a respective
- +# daemon is running
- for lock_cmd in \
- "xscreensaver-command -lock" \
- - "gnome-screensaver-command --lock"
- + "gnome-screensaver-command --lock" \
- + "light-locker-command --lock"
- do
- $lock_cmd >/dev/null 2>&1 && exit
- done
|