change waybar design

This commit is contained in:
Frost-Phoenix 2024-03-03 17:37:03 +01:00
parent a9c0c7298d
commit d11029b116
2 changed files with 37 additions and 14 deletions

View file

@ -29,20 +29,28 @@
tooltip-format= "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>"; tooltip-format= "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>";
format-alt= " {:%d/%m}"; format-alt= " {:%d/%m}";
}; };
"wlr/workspaces"= { "hyprland/workspaces"= {
active-only= false; active-only= false;
all-outputs= false; disable-scroll= true;
disable-scroll= false; format = "{icon}";
on-scroll-up= "hyprctl dispatch workspace e-1";
on-scroll-down= "hyprctl dispatch workspace e+1";
format = "{name}";
on-click= "activate"; on-click= "activate";
format-icons= { format-icons= {
urgent= ""; "1"= "󰈹";
active= ""; "2"= "";
default = ""; "3"= "󰙯";
"4"= "󰘙";
"5"= "";
urgent= "";
default = "";
sort-by-number= true; sort-by-number= true;
}; };
persistent-workspaces = {
"1"= [];
"2"= [];
"3"= [];
"4"= [];
"5"= [];
};
}; };
memory= { memory= {
format= "󰟜 {}%"; format= "󰟜 {}%";

View file

@ -21,8 +21,6 @@ in
min-height: 0px; min-height: 0px;
font-family: ${custom.font}; font-family: ${custom.font};
font-weight: ${custom.font_weight}; font-weight: ${custom.font_weight};
font-size: ${custom.font_size};
color: ${custom.text_color};
opacity: ${custom.opacity}; opacity: ${custom.opacity};
} }
@ -31,12 +29,25 @@ in
} }
#workspaces { #workspaces {
font-size: 18px;
padding-left: 15px;
} }
#workspaces button { #workspaces button {
color: ${custom.text_color};
padding-left: 6px;
padding-right: 6px;
}
#workspaces button.empty {
color: #6c7086;
} }
#workspaces button.active { #workspaces button.active {
color: #b4befe;
} }
#workspaces button:hover {
#tray, #pulseaudio, #network, #cpu, #memory, #disk, #clock {
font-size: ${custom.font_size};
color: ${custom.text_color};
} }
#cpu { #cpu {
@ -72,9 +83,13 @@ in
padding-left: 9px; padding-left: 9px;
padding-right: 15px; padding-right: 15px;
} }
#custom-launcher { #custom-launcher {
margin-left: 10px; font-size: 20px;
font-size: 22px; color: #b4befe;
font-weight: ${custom.font_weight};
padding-left: 10px;
padding-right: 15px;
} }
''; '';
} }