diff options
Diffstat (limited to 'desktop/nwg-bar/nwg-bar-shutdown.patch')
-rw-r--r-- | desktop/nwg-bar/nwg-bar-shutdown.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/desktop/nwg-bar/nwg-bar-shutdown.patch b/desktop/nwg-bar/nwg-bar-shutdown.patch new file mode 100644 index 000000000000..d43ba9f996ff --- /dev/null +++ b/desktop/nwg-bar/nwg-bar-shutdown.patch @@ -0,0 +1,18 @@ +--- a/config/bar.json ++++ b/config/bar.json +@@ -11,12 +11,12 @@ + }, + { + "label": "Reboot", +- "exec": "systemctl reboot", ++ "exec": "loginctl reboot", + "icon": "/usr/share/nwg-bar/images/system-reboot.svg" + }, + { + "label": "Shutdown", +- "exec": "systemctl -i poweroff", ++ "exec": "loginctl poweroff", + "icon": "/usr/share/nwg-bar/images/system-shutdown.svg" + } + ] + |