[Xfce4-commits] [xfce/xfce4-session] 01/01: Make screenlockers configurable through xfconf

noreply at xfce.org noreply at xfce.org
Thu Mar 26 10:28:18 CET 2015


This is an automated email from the git hooks/post-receive script.

eric pushed a commit to branch master
in repository xfce/xfce4-session.

commit e940818853582290af21bf38d73ee26143d500ad
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date:   Wed Mar 25 17:03:02 2015 +0100

    Make screenlockers configurable through xfconf
    
    Signed-off-by: Eric Koegel <eric.koegel at gmail.com>
---
 scripts/xflock4 |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/scripts/xflock4 b/scripts/xflock4
index ec4d05d..7d857d3 100644
--- a/scripts/xflock4
+++ b/scripts/xflock4
@@ -24,8 +24,12 @@
 PATH=/bin:/usr/bin
 export PATH
 
+# First test for the command set in the session's xfconf channel
+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" \
     "xscreensaver-command -lock" \
     "gnome-screensaver-command --lock"
 do

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list