aboutsummaryrefslogtreecommitdiff
path: root/src/usr/libexec
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/libexec')
-rwxr-xr-xsrc/usr/libexec/logout-manager/lm-helper10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/usr/libexec/logout-manager/lm-helper b/src/usr/libexec/logout-manager/lm-helper
index 6372827..700e86f 100755
--- a/src/usr/libexec/logout-manager/lm-helper
+++ b/src/usr/libexec/logout-manager/lm-helper
@@ -1,7 +1,7 @@
#!/bin/sh
# Dependencies:
-# Devuan: wmctrl sudo
-# el7: wmctrl sudo
+# dep-devuan: wmctrl, sudo
+# dep-el7: wmctrl, sudo
case "${1}" in
help) # show this help screen
{
@@ -18,9 +18,9 @@ case "${1}" in
lock) # lock the current screen
if test -z "${DRYRUN}" ;
then
- xscreensaver --locknow
+ xscreensaver-command -lock
else
- echo "xscreensaver --locknow"
+ echo "xscreensaver-command -lock"
fi
;;
logout) # log out the current user of the graphical session
@@ -36,7 +36,7 @@ case "${1}" in
fi
;;
*)
- echo "Gotta say unh! Feature not yet implemented for \"${_wm}\"" 1>&2
+ echo "Gotta say unh! Feature not yet implemented for \"${_wm}\". Please report this to bgstack15@gmail.com" 1>&2
exit 1
;;
esac
bgstack15