summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorSimon Steinbeiss <simon.steinbeiss@elfenbeinturm.at>2018-10-17 09:24:39 +0200
committerSimon Steinbeiss <simon.steinbeiss@elfenbeinturm.at>2018-10-17 09:27:04 +0200
commitbaf23e096da712084e54b47faa49c1ca99665b75 (patch)
treecb66691cff5fafbb772f40af6f283520a9594647 /scripts
parentcd1cb59a1731790998dcf0c1548b94322d9e695d (diff)
downloadxfce4-session-baf23e096da712084e54b47faa49c1ca99665b75.tar.gz
Add support for xfce4-screensaver to xflock4
While this can be overridden in the session's xfconf channel, we want to call xfce4-screensaver first.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/xflock41
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/xflock4 b/scripts/xflock4
index 32770b44..fcca730e 100644
--- a/scripts/xflock4
+++ b/scripts/xflock4
@@ -30,6 +30,7 @@ LOCK_CMD=$(xfconf-query -c xfce4-session -p /general/LockCommand)
# Lock by xscreensaver or gnome-screensaver, if a respective daemon is running
for lock_cmd in \
"$LOCK_CMD" \
+ "xfce4-screensaver-command -lock" \
"xscreensaver-command -lock" \
"gnome-screensaver-command --lock"
do