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

14 lines
472 B
Diff

diff -rub a/scripts/xflock4 b/scripts/xflock4
--- a/scripts/xflock4 2019-05-04 19:15:26.323290812 +0800
+++ b/scripts/xflock4 2019-05-04 22:39:08.416197604 +0800
@@ -32,7 +32,8 @@
"$LOCK_CMD" \
"xfce4-screensaver-command --lock" \
"xscreensaver-command -lock" \
- "gnome-screensaver-command --lock"
+ "gnome-screensaver-command --lock" \
+ "light-locker-command -l"
do
if [ ! -z "$lock_cmd" ]; then
$lock_cmd >/dev/null 2>&1 && exit