mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
wlogout: use loginctl instead of systemctl
This commit is contained in:
parent
2434e21f9a
commit
4e7c8944fc
2 changed files with 35 additions and 1 deletions
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'
|
# Template file for 'wlogout'
|
||||||
pkgname=wlogout
|
pkgname=wlogout
|
||||||
version=1.1.1
|
version=1.1.1
|
||||||
revision=1
|
revision=2
|
||||||
build_style=meson
|
build_style=meson
|
||||||
conf_files="/etc/wlogout/layout /etc/wlogout/style.css"
|
conf_files="/etc/wlogout/layout /etc/wlogout/style.css"
|
||||||
hostmakedepends="pkg-config scdoc"
|
hostmakedepends="pkg-config scdoc"
|
||||||
|
|
Loading…
Add table
Reference in a new issue