colored icons waybar

This commit is contained in:
Ivan Dimitrov 2024-05-15 18:07:38 +03:00
parent cac6ba5b8a
commit 25d13d214e

View File

@ -44,19 +44,19 @@
}; };
cpu = { cpu = {
format = " {usage}%"; format = "<span color='#4f46e5'></span> {usage}%";
}; };
memory = { memory = {
format = " {percentage}%"; format = "<span color='#7c3aed'></span> {percentage}%";
interval = 5; interval = 5;
}; };
pulseaudio = { pulseaudio = {
format = "{icon} {volume}% | {format_source}"; format = "<span color='#16a34a'>{icon}</span> {volume}% | {format_source}";
format-muted = "󰝟 {volume}% | {format_source}"; format-muted = "<span color='#b91c1c'>󰝟</span> {volume}% | {format_source}";
format-source = "{volume}% "; format-source = "{volume}% <span color='#16a34a'></span>";
format-source-muted = "{volume}% "; format-source-muted = "{volume}% <span color='#b91c1c'></span>";
format-icons = { format-icons = {
headphone = ""; headphone = "";
default = [ "" "" "" ]; default = [ "" "" "" ];
@ -64,9 +64,9 @@
}; };
network = { network = {
format-ethernet = "󰈁 | {bandwidthUpBytes} {bandwidthDownBytes}"; format-ethernet = "<span color='#06b6d4'>󰈁</span> | <span color='#ea580c'></span> {bandwidthUpBytes} <span color='#ea580c'></span> {bandwidthDownBytes}";
format-wifi = "{icon} | {bandwidthUpBytes} {bandwidthDownBytes}"; format-wifi = "<span color='#06b6d4'>{icon}</span> | <span color='#ea580c'></span> {bandwidthUpBytes} <span color='#ea580c'></span> {bandwidthDownBytes}";
format-disconnected = "󰈂"; format-disconnected = "<span color='#b91c1c'>󰈂</span>";
format-icons = [ "󰤟" "󰤢" "󰤥" "󰤨" ]; format-icons = [ "󰤟" "󰤢" "󰤥" "󰤨" ];
interval = 5; interval = 5;
}; };