style: upgrade waybar rice

This commit is contained in:
Youwen Wu 2024-12-29 18:16:00 -08:00
parent 0b766610a3
commit 3d22378d3c
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3

View file

@ -37,7 +37,8 @@ in
.modules-left { .modules-left {
opacity: 1; opacity: 1;
background: linear-gradient(45deg, #${colors.base0B}, #${colors.base0A}); /* background: linear-gradient(45deg, #${colors.base0B}, #${colors.base0A}); */
background: #${colors.base01};
border-radius: 0.5rem; border-radius: 0.5rem;
padding: 2px; padding: 2px;
} }
@ -60,14 +61,14 @@ in
#workspaces { #workspaces {
background-color: rgba(0,0,0,0.5); background-color: rgba(0,0,0,0.5);
border-radius: 0.5rem; border-radius: 0.5rem;
padding: 0 2px; padding: 0 2px 0 2px;
} }
#workspaces button { #workspaces button {
font-size: 0.6rem; font-size: 0.75rem;
padding: 0 0.3rem 0 0; padding: 0 0.2rem 0 0.2rem;
border: #cccccc; border: #${colors.base05};
color: #cccccc; color: #${colors.base05};
} }
#window { #window {
@ -119,7 +120,7 @@ in
"margin" = "5px 10px 0px 10px"; "margin" = "5px 10px 0px 10px";
"spacing" = 10; "spacing" = 10;
"mode" = "top"; # "mode" = "top";
reload_style_on_change = true; reload_style_on_change = true;
@ -250,28 +251,40 @@ in
"hyprland/workspaces" = { "hyprland/workspaces" = {
show-special = true; show-special = true;
persistent-workspaces = { # persistent-workspaces = {
"*" = [ # "*" = [
1 # 1
2 # 2
3 # 3
4 # 4
5 # 5
6 # 6
7 # 7
8 # 8
9 # 9
10 # 10
]; # ];
}; # };
format = "{icon}"; format = "{icon}";
on-click = "activate";
format-icons = { format-icons = {
"1" = "";
"2" = "";
"3" = "󰰊";
"4" = "󰰍";
"5" = "";
"6" = "";
"7" = "󰰨";
"8" = "";
"9" = "";
"10" = "";
active = ""; active = "";
empty = ""; empty = "";
default = ""; default = "";
urgent = ""; urgent = "";
special = "󰠱"; special = "󰠱";
}; };
sort-by-number = true;
}; };
"hyprland/window" = { "hyprland/window" = {