add logout option to waybar
This commit is contained in:
@@ -26,7 +26,7 @@ x = 0
|
|||||||
y = 0
|
y = 0
|
||||||
|
|
||||||
[window]
|
[window]
|
||||||
opacity = 0.9
|
opacity = 0.95
|
||||||
|
|
||||||
[general]
|
[general]
|
||||||
import = ["~/.cache/wal/colors-alacritty.toml"]
|
import = ["~/.cache/wal/colors-alacritty.toml"]
|
||||||
|
|||||||
@@ -240,6 +240,7 @@
|
|||||||
"menu-actions": {
|
"menu-actions": {
|
||||||
"shutdown": "shutdown",
|
"shutdown": "shutdown",
|
||||||
"reboot": "reboot",
|
"reboot": "reboot",
|
||||||
|
"logout": "loginctl terminate-session \"$XDG_SESSION_ID\"",
|
||||||
"suspend": "systemctl suspend",
|
"suspend": "systemctl suspend",
|
||||||
"hibernate": "systemctl hibernate"
|
"hibernate": "systemctl hibernate"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,6 +14,11 @@
|
|||||||
<child>
|
<child>
|
||||||
<object class="GtkSeparatorMenuItem" id="delimiter1"/>
|
<object class="GtkSeparatorMenuItem" id="delimiter1"/>
|
||||||
</child>
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkMenuItem" id="logout">
|
||||||
|
<property name="label">Logout</property>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkMenuItem" id="suspend">
|
<object class="GtkMenuItem" id="suspend">
|
||||||
<property name="label">Suspend</property>
|
<property name="label">Suspend</property>
|
||||||
|
|||||||
@@ -350,3 +350,7 @@ label:focus {
|
|||||||
#privacy-item.audio-out {
|
#privacy-item.audio-out {
|
||||||
background-color: #0069d4;
|
background-color: #0069d4;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#custom-power {
|
||||||
|
padding: 0px 8px;
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user