xfce4-session/additional-lockers-support.patch

14 lines
470 B
Diff
Raw Normal View History

diff -ru a/scripts/xflock4 b/scripts/xflock4
--- a/scripts/xflock4 2014-08-31 02:24:02.000000000 +0800
+++ b/scripts/xflock4 2019-06-06 07:52:48.399462547 +0800
@@ -26,7 +26,9 @@
# Lock by xscreensaver or gnome-screensaver, if a respective daemon is running
for lock_cmd in \
+ "xfce4-screensaver-command -l" \
"xscreensaver-command -lock" \
+ "light-locker-command -l" \
"gnome-screensaver-command --lock"
do
$lock_cmd >/dev/null 2>&1 && exit