From dda33a4233af7e09d5a3f82875440f851e45bccc Mon Sep 17 00:00:00 2001 From: luan-adao Date: Wed, 17 Aug 2022 22:52:51 -0300 Subject: [PATCH] wlogout: use loginctl instead of systemctl --- srcpkgs/wlogout/patches/layout.patch | 34 ++++++++++++++++++++++++++++ srcpkgs/wlogout/template | 2 +- 2 files changed, 35 insertions(+), 1 deletion(-) 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..aba702cbce8c --- /dev/null +++ b/srcpkgs/wlogout/patches/layout.patch @@ -0,0 +1,34 @@ +--- a/layout ++++ b/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" + } diff --git a/srcpkgs/wlogout/template b/srcpkgs/wlogout/template index 60a6953642c4..33cbc05064a6 100644 --- a/srcpkgs/wlogout/template +++ b/srcpkgs/wlogout/template @@ -1,7 +1,7 @@ # Template file for 'wlogout' pkgname=wlogout version=1.1.1 -revision=1 +revision=2 build_style=meson conf_files="/etc/wlogout/layout /etc/wlogout/style.css" hostmakedepends="pkg-config scdoc"