remove power menu from waybar

This commit is contained in:
2022-03-01 12:34:44 +03:00
parent 9bf55d394f
commit 575768e5ad
2 changed files with 3 additions and 14 deletions

View File

@@ -10,8 +10,7 @@
"pulseaudio", "pulseaudio",
"sway/language", "sway/language",
"network", "network",
"clock", "clock"
"custom/power-menu"
], ],
"sway/workspaces": { "sway/workspaces": {
"all-output": true, "all-output": true,
@@ -47,13 +46,5 @@
"tray": { "tray": {
"icon-size": 16, "icon-size": 16,
"spacing": 10 "spacing": 10
},
"custom/power-menu": {
"format": "{icon}",
"format-icons": [
""
],
"on-click": "wlogout -b 4 -m 450 -c 30",
"tooltip": false
} }
} }

View File

@@ -34,8 +34,7 @@ window#waybar {
margin-left: 10px; margin-left: 10px;
} }
#network, #network {
#custom-power-menu {
font-family: "Font Awesome 6 Free Solid"; font-family: "Font Awesome 6 Free Solid";
} }
@@ -43,8 +42,7 @@ window#waybar {
#pulseaudio, #pulseaudio,
#language, #language,
#network, #network,
#clock, #clock {
#custom-power-menu {
margin: 8px; margin: 8px;
} }