aboutsummaryrefslogtreecommitdiff
path: root/src/usr/libexec
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2020-04-03 15:38:21 +0000
committerB Stack <bgstack15@gmail.com>2020-04-03 15:38:21 +0000
commit25a302edc305fe9bf5cd5561c91769c659ea815f (patch)
treeaf3658a050028eb914180c8ddd83a33b0ba5a611 /src/usr/libexec
parentMerge branch 'add-trayicon' into 'master' (diff)
parentMerge branch 'master' into 'dev' (diff)
downloadlogout-manager-master.tar.gz
logout-manager-master.tar.bz2
logout-manager-master.zip
Merge branch 'dev' into 'master'HEADmaster
minor refactor and add documentation Closes #1, #3, #2, #4, #5, and #6 See merge request bgstack15/logout-manager!3
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