aboutsummaryrefslogtreecommitdiff
path: root/desktop/nwg-bar/nwg-bar-shutdown.patch
blob: d43ba9f996ff4c32216f2ae9fb92dcfbad29a3d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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"
   }
 ]