wlogout: use loginctl instead of systemctl
This commit is contained in:
34
srcpkgs/wlogout/patches/layout.patch
Normal file
34
srcpkgs/wlogout/patches/layout.patch
Normal 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"
|
||||
}
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user