wlogout: use loginctl instead of systemctl

This commit is contained in:
luan-adao 2022-08-17 22:52:51 -03:00 committed by classabbyamp
parent 2434e21f9a
commit 4e7c8944fc
2 changed files with 35 additions and 1 deletions

View file

@ -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"
}

View file

@ -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"