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" "orientation": "horizontal"
}, },
"tray": { "tray": {
"icon-size": 12 "icon-size": 14,
"spacing": 6
}, },
"hyprland/workspaces": { "hyprland/workspaces": {
"disable-scroll": true, "disable-scroll": true,

View file

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