1
0
Fork 0

Complete waybar config

This commit is contained in:
Ethan Reece 2025-09-19 21:44:32 -05:00
parent ee1411bd36
commit a1fc878ee4
Signed by: me
GPG key ID: DD8CE04D5D8FF832
2 changed files with 33 additions and 12 deletions

View file

@ -141,7 +141,6 @@ in
package = wrapPkg pkgs.wezterm;
extraConfig = ''
return {
window_background_opacity = 0.85,
hide_tab_bar_if_only_one_tab = true,
}
'';
@ -174,13 +173,8 @@ in
padding = "16px";
in
''
window#waybar {
background: transparent;
}
#tray, #network, #cpu, #memory, #temperature, #wireplumber, #backlight {
padding: 0 ${padding};
margin: 0
}
'';
settings = {
@ -217,23 +211,40 @@ in
format = "{:%m-%e\t<b>%H:%M</b>}";
};
cpu = {
format = "{usage} ";
format = "{usage}$ ";
tooltip = false;
};
memory = {
format = "{} ";
format = "{}% ";
};
temperature = {
format = "{} ";
format = "{}°C ";
};
wireplumber = {
format = "{volume}% {icon}";
format-muted = "";
format-icons = [
""
""
""
];
};
backlight = {
format = "{percent}% {icon}";
format-icons = [
"󰃞"
"󰃟"
"󰃠"
];
};
battery = {
states = {
warning = 30;
critical = 15;
};
format = "{capacity} {icon}";
format-charging = "{capacity} 󰂄";
format-plugged = "{capacity} 󱟢";
format = "{capacity}% {icon}";
format-charging = "{capacity}% 󰂄";
format-plugged = "{capacity}% 󱟢";
format-alt = "{time} {icon}";
format-icons = [
"󰂎"

View file

@ -16,6 +16,16 @@
}
}/grandfather-tree.jpg";
polarity = "dark";
opacity =
let
some = 0.85;
in
{
desktop = 0.5;
terminal = some;
popups = some;
applications = some;
};
fonts = {
serif = {
package = pkgs.libertinus;