fix: waybar workspaces and tray style

This commit is contained in:
hesam-init 2024-02-24 00:25:46 +03:30
parent 8487daf004
commit d4d782bf60
2 changed files with 13 additions and 6 deletions

View file

@ -103,7 +103,8 @@
"orientation": "horizontal"
},
"tray": {
"icon-size": 12
"icon-size": 14,
"spacing": 6
},
"hyprland/workspaces": {
"disable-scroll": true,

View file

@ -1,7 +1,6 @@
@import "../../../.config/hypr-theme/waybar/global.css";
* {
all: unset;
border: none;
border-radius: 6px;
font-family: Roboto;
@ -41,21 +40,28 @@ window#waybar.hidden {
#tray {
background-color: @backgrounddark;
border: #272727 1px solid;
padding: 0px 6px;
padding: 0px 8px;
}
#workspaces *,
#tray * {
#workspaces * {
font-size: 12px;
padding: 0px 3px;
}
#workspaces button {
all: unset;
opacity: 0.2;
padding: 0px 6px;
transition: all 0.4s cubic-bezier(0.55, -0.68, 0.48, 1.682);
}
#workspaces button:first-child {
padding-left: 0px;
}
#workspaces button:last-child {
padding-right: 0px;
}
#workspaces button.active {
opacity: 1;
}