Fix waybar config

This commit is contained in:
Kiana Sheibani 2023-08-09 20:31:38 -04:00
parent ad451fa6ee
commit d14e25ae1b
2 changed files with 8 additions and 7 deletions

View file

@ -60,6 +60,7 @@ in
noto-fonts-cjk noto-fonts-cjk
noto-fonts-emoji noto-fonts-emoji
(nerdfonts.override { fonts = [ "UbuntuMono" "JetBrainsMono" ]; }) (nerdfonts.override { fonts = [ "UbuntuMono" "JetBrainsMono" ]; })
font-awesome
emacs-all-the-icons-fonts emacs-all-the-icons-fonts
victor-mono victor-mono
ubuntu_font_family ubuntu_font_family

View file

@ -37,9 +37,9 @@
}; };
format-icons = { format-icons = {
browser = "${spanfa}<small> </small></span>";
terminal = "${spanfa}</span>"; terminal = "${spanfa}</span>";
code = "${spanfa}</span>"; code = "${spanfa}</span>";
browser = "${spanfa}<big></big></span>";
files = "${spanfa}</span>"; files = "${spanfa}</span>";
discord = "${spanfa}</span>"; discord = "${spanfa}</span>";
settings = "${spanfa}</span>"; settings = "${spanfa}</span>";
@ -81,7 +81,7 @@
format-alt = " {:%Y-%m-%d}"; format-alt = " {:%Y-%m-%d}";
}; };
"cpu" = { "cpu" = {
format = "<span font=\"Font Awesome 5 Regular 13\"></span> <span rise=\"1pt\">{usage}%</span>"; format = "<big> </big>{usage}%";
tooltip = false; tooltip = false;
}; };
"battery" = { "battery" = {
@ -89,9 +89,9 @@
states.low = 15; states.low = 15;
states.critical = 5; states.critical = 5;
format-icons = [ "" "" "" "" "" "" "" "" "" "" "" ]; format = "<big>{icon}</big> {capacity}%";
format = "<span font=\"UbuntuMono Nerd Font 12\">{icon}</span> {capacity}%"; format-icons = [ "󰂎" "󰁺" "󰁻" "󰁼" "󰁽" "󰁾" "󰁿" "󰁿" "󰂁" "󰂂" "󰁹" ];
format-charging = "<span font=\"UbuntuMono Nerd Font 12\"> </span>{capacity}%"; format-charging = "󰂄 {capacity}%";
format-time = "{H}h {M}m"; format-time = "{H}h {M}m";
}; };
"memory" = { "memory" = {
@ -106,8 +106,8 @@
}; };
"backlight" = { "backlight" = {
# device = "acpi_video1"; # device = "acpi_video1";
format = "<span font=\"Font Awesome 5 Regular 12\"><big>{icon}</big></span><small> </small><span rise=\"2pt\">{percent}%</span>"; format = "<span size=\"12pt\" rise=\"-0.5pt\">{icon}</span><span size=\"13pt\"> </span>{percent}%";
format-icons = [ "" "" "" "" ]; format-icons = [ "󰃚" "󰃞" "󰃟" "󰃝" "󰃠" ];
}; };
"network" = { "network" = {
# interface = "wlp2*"; # (Optional) To force the use of this interface # interface = "wlp2*"; # (Optional) To force the use of this interface