summaryrefslogtreecommitdiff
path: root/x11/waybar/files/patch-no-systemctl
diff options
context:
space:
mode:
Diffstat (limited to 'x11/waybar/files/patch-no-systemctl')
-rw-r--r--x11/waybar/files/patch-no-systemctl34
1 files changed, 34 insertions, 0 deletions
diff --git a/x11/waybar/files/patch-no-systemctl b/x11/waybar/files/patch-no-systemctl
new file mode 100644
index 000000000000..96ad62562b92
--- /dev/null
+++ b/x11/waybar/files/patch-no-systemctl
@@ -0,0 +1,34 @@
+--- man/waybar-menu.5.scd.orig 2024-07-17 21:04:05 UTC
++++ man/waybar-menu.5.scd
+@@ -91,10 +91,10 @@ Module config :
+ "menu": "on-click",
+ "menu-file": "~/.config/waybar/power_menu.xml",
+ "menu-actions": {
+- "shutdown": "shutdown",
+- "reboot": "reboot",
+- "suspend": "systemctl suspend",
+- "hibernate": "systemctl hibernate",
++ "shutdown": "shutdown -p now",
++ "reboot": "shutdown -r now",
++ "suspend": "zzz",
++ "hibernate": "acpiconf -s 4"
+ },
+ },
+ ```
+--- resources/config.jsonc.orig 2024-07-17 21:04:05 UTC
++++ resources/config.jsonc
+@@ -206,10 +206,10 @@
+ "menu": "on-click",
+ "menu-file": "$HOME/.config/waybar/power_menu.xml", // Menu file in resources folder
+ "menu-actions": {
+- "shutdown": "shutdown",
+- "reboot": "reboot",
+- "suspend": "systemctl suspend",
+- "hibernate": "systemctl hibernate"
++ "shutdown": "shutdown -p now",
++ "reboot": "shutdown -r now",
++ "suspend": "zzz",
++ "hibernate": "acpiconf -s 4"
+ }
+ }
+ }