From 47b460e5a5633064fb4ef31ca4e8b784c0be6d0b Mon Sep 17 00:00:00 2001 From: luan-adao Date: Wed, 17 Aug 2022 22:52:51 -0300 Subject: [PATCH] use loginctl instead of systemctl --- srcpkgs/wlogout/patches/layout.patch | 34 ++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 srcpkgs/wlogout/patches/layout.patch diff --git a/srcpkgs/wlogout/patches/layout.patch b/srcpkgs/wlogout/patches/layout.patch new file mode 100644 index 000000000000..c18f58dc4774 --- /dev/null +++ b/srcpkgs/wlogout/patches/layout.patch @@ -0,0 +1,34 @@ +--- /layout ++++ /layout +@@ -6,7 +6,7 @@ + } + { + "label" : "hibernate", +- "action" : "systemctl hibernate", ++ "action" : "loginctl hibernate", + "text" : "Hibernate", + "keybind" : "h" + } +@@ -18,19 +18,19 @@ + } + { + "label" : "shutdown", +- "action" : "systemctl poweroff", ++ "action" : "loginctl poweroff", + "text" : "Shutdown", + "keybind" : "s" + } + { + "label" : "suspend", +- "action" : "systemctl suspend", ++ "action" : "loginctl suspend", + "text" : "Suspend", + "keybind" : "u" + } + { + "label" : "reboot", +- "action" : "systemctl reboot", ++ "action" : "loginctl reboot", + "text" : "Reboot", + "keybind" : "r" + }