xfce4-session/add-light-locker-support.patch

15 lines
463 B
Diff

Index: scripts/xflock4
===================================================================
--- scripts/xflock4.orig
+++ scripts/xflock4
@@ -27,7 +27,8 @@ export PATH
# Lock by xscreensaver or gnome-screensaver, if a respective daemon is running
for lock_cmd in \
"xscreensaver-command -lock" \
- "gnome-screensaver-command --lock"
+ "gnome-screensaver-command --lock" \
+ "light-locker-command -l"
do
$lock_cmd >/dev/null 2>&1 && exit
done