Add wlogout for quiting

This commit is contained in:
2021-10-19 12:43:33 +03:00
parent 5d5ba6cc1b
commit 6b4f923e3e
6 changed files with 104 additions and 2 deletions

View File

@@ -8,7 +8,8 @@
"sway/language",
"network",
"clock",
"tray"
"tray",
"custom/power-menu"
],
"sway/workspaces": {
@@ -61,5 +62,10 @@
"tray": {
"icon-size": 16,
"spacing": 10
},
"custom/power-menu": {
"format": "{icon}",
"format-icons": [""],
"on-click": "wlogout -b 4 -m 450 -c 30"
}
}

View File

@@ -41,7 +41,8 @@ window#waybar {
#network,
#language,
#pulseaudio,
#tray {
#tray,
#custom-power-menu {
background: #202734;
margin: 10px;
padding: 10px;