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

13 lines
430 B
Diff

diff -rub a/scripts/xflock4 b/scripts/xflock4
--- a/scripts/xflock4 2019-05-11 04:05:58.000000000 +0800
+++ b/scripts/xflock4 2019-05-20 18:59:02.025108727 +0800
@@ -29,7 +29,7 @@
"$LOCK_CMD" \
"xfce4-screensaver-command --lock" \
"xscreensaver-command -lock" \
- "gnome-screensaver-command --lock"
+ "light-locker-command -l"
do
if [ ! -z "$lock_cmd" ]; then
$lock_cmd >/dev/null 2>&1 && exit