This commit is contained in:
2026-07-31 06:51:15 -04:00
parent 77a8d34a89
commit bebab51bad
2 changed files with 9 additions and 0 deletions
+1
View File
@@ -57,6 +57,7 @@
"menu": "on-click", "menu": "on-click",
"menu-file": "~/.config/waybar/power_menu.xml", "menu-file": "~/.config/waybar/power_menu.xml",
"menu-actions": { "menu-actions": {
"logout": "loginctl terminate-user \"\"",
"shutdown": "systemctl poweroff", "shutdown": "systemctl poweroff",
"reboot": "systemctl reboot" "reboot": "systemctl reboot"
} }
+8
View File
@@ -1,6 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<interface> <interface>
<object class="GtkMenu" id="menu"> <object class="GtkMenu" id="menu">
<child>
<object class="GtkMenuItem" id="logout">
<property name="label">Logout</property>
</object>
</child>
<child>
<object class="GtkSeparatorMenuItem"/>
</child>
<child> <child>
<object class="GtkMenuItem" id="shutdown"> <object class="GtkMenuItem" id="shutdown">
<property name="label">Shutdown</property> <property name="label">Shutdown</property>