slackbuilds/desktop/nwg-bar/nwg-bar-shutdown.patch

19 lines
402 B
Diff

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