aboutsummaryrefslogtreecommitdiff
path: root/src/etc
diff options
context:
space:
mode:
Diffstat (limited to 'src/etc')
-rw-r--r--src/etc/logout-manager.conf16
-rw-r--r--src/etc/sudoers.d/30_logout-manager_sudo3
-rw-r--r--src/etc/sysconfig/logout-manager2
3 files changed, 21 insertions, 0 deletions
diff --git a/src/etc/logout-manager.conf b/src/etc/logout-manager.conf
new file mode 100644
index 0000000..51b86d1
--- /dev/null
+++ b/src/etc/logout-manager.conf
@@ -0,0 +1,16 @@
+[logout-manager]
+lock_command="/usr/libexec/logout-manager/lm-helper lock"
+logout_command="/usr/libexec/logout-manager/lm-helper logout"
+hibernate_command="sudo /usr/libexec/logout-manager/lm-helper hibernate"
+reboot_command="sudo /usr/libexec/logout-manager/lm-helper reboot"
+shutdown_command="sudo /usr/libexec/logout-manager/lm-helper shutdown"
+
+[icons]
+size = 24
+#theme = default
+# use names as used by the icon theme, or give a full path here
+hibernate = system-hibernate
+lock = system-lock-screen
+logout = system-log-out
+reboot = system-reboot
+shutdown = system-shutdown
diff --git a/src/etc/sudoers.d/30_logout-manager_sudo b/src/etc/sudoers.d/30_logout-manager_sudo
new file mode 100644
index 0000000..ba621eb
--- /dev/null
+++ b/src/etc/sudoers.d/30_logout-manager_sudo
@@ -0,0 +1,3 @@
+# File: /etc/sudoers.d/30_logout-manager_sudo
+Defaults env_keep += "DRYRUN VERBOSE"
+ALL ALL = (root) NOPASSWD: /usr/libexec/logout-manager/lm-helper *
diff --git a/src/etc/sysconfig/logout-manager b/src/etc/sysconfig/logout-manager
new file mode 100644
index 0000000..1f4ecf6
--- /dev/null
+++ b/src/etc/sysconfig/logout-manager
@@ -0,0 +1,2 @@
+LOGOUT_MANAGER_LIBPATH=/usr/share/logout-manager
+LOGOUT_MANAGER_CONF=/etc/logout-manager.conf
bgstack15