Convert waybar to fontawesome glyph set

This commit is contained in:
Evie Litherland-Smith 2024-03-02 12:37:30 +00:00
parent 9c4d12b6b7
commit 23557b23ce

View file

@ -39,28 +39,25 @@
"rewrite" = { "rewrite" = {
"(.*) - GNU Emacs at (.*)" = " $1 [$2]"; "(.*) - GNU Emacs at (.*)" = " $1 [$2]";
"(Alacritty.*)" = " $1"; "(Alacritty.*)" = " $1";
"(.*) - mpv" = "󰦟 $1"; "(.*) - mpv" = " $1";
"(btm)" = " Resource Usage [$1]"; "(btm)" = " Resource Usage [$1]";
"(cava)" = "󰝚 Music Visualiser [$1]"; "(cava)" = " Music Visualiser [$1]";
"(.*) - Thunar" = "󰝰 $1"; "(.*) - Thunar" = " $1";
"Nyxt - (.*)" = "󰀹 $1"; "Nyxt - (.*)" = " $1";
"Mozilla Firefox" = "󰈹 $1"; "Mozilla Firefox" = " $1";
"(.*) Mozilla Firefox" = "󰈹 $1"; "(.*) Mozilla Firefox" = " $1";
"((?:.*)WebCord.*)" = "󰙯 $1"; "((?:.*)WebCord.*)" = " $1";
"(Signal.*)" = "󰭹 $1"; "(Signal.*)" = " $1";
"(WhatsApp for Linux.*)" = "󰖣 $1"; "(WhatsApp for Linux.*)" = " $1";
"([Ss]team)" = "󰓓 $1"; "([Ss]team)" = " $1";
"(Prism Launcher.*)" = "󰍳 Minecraft ($1)";
"Microsoft Teams(?: classic)?(?: - )?(.*)(?: \| Microsoft Teams)?" = "󰊻 $1";
}; };
"separate-outputs" = true; "separate-outputs" = true;
}; };
"hyprland/workspaces" = { "hyprland/workspaces" = {
format = "{icon}"; format = "{icon}";
format-icons = { format-icons = {
default = "󰋙 "; default = " ";
active = "󰫈 "; active = " ";
urgent = "󰁡 ";
}; };
show-special = false; show-special = false;
persistent-workspaces = { persistent-workspaces = {
@ -78,72 +75,51 @@
"interval" = 1; "interval" = 1;
"dynamic-order" = ["album" "artist" "title" "position" "length"]; "dynamic-order" = ["album" "artist" "title" "position" "length"];
"player-icons" = { "player-icons" = {
"default" = "󰲸 "; "default" = " ";
"emms" = " "; "emms" = " ";
"firefox" = "󰈹 "; "firefox" = " ";
"mpv" = "󰦟 "; "mpv" = " ";
}; };
"status-icons" = { "status-icons" = {
"playing" = "󰐊"; "playing" = " ";
"paused" = "󰏤"; "paused" = " ";
"stopped" = "󰓛"; "stopped" = " ";
}; };
"ignored-players" = []; "ignored-players" = [];
}; };
pulseaudio = { pulseaudio = {
scroll-step = 5; scroll-step = 5;
format = "{format_source} {icon} {volume}%"; format = "{format_source} {icon} {volume}%";
format-muted = "{format_source} 󰝟 "; format-muted = "{format_source} ";
format-source = "󰍬"; format-source = " ";
format-source-muted = "󰍭"; format-source-muted = " ";
format-icons = { format-icons = {
car = "󰄍"; car = " ";
default = ["󰕿" "󰖀" "󰕾"]; default = [" " " " " "];
hands-free = "󰥰"; hands-free = " ";
headset = "󰋎"; headset = " ";
phone = "󰏲"; phone = " ";
portable = "󰏳"; portable = " ";
headphone = "󰋋"; headphone = " ";
}; };
on-click = "${pkgs.pavucontrol}/bin/pavucontrol"; on-click = "${pkgs.pavucontrol}/bin/pavucontrol";
on-click-right = "${pkgs.pamixer}/bin/pamixer -t"; on-click-right = "${pkgs.pamixer}/bin/pamixer -t";
on-scroll-up = "${pkgs.pamixer}/bin/pamixer -i 5"; on-scroll-up = "${pkgs.pamixer}/bin/pamixer -i 5";
on-scroll-down = "${pkgs.pamixer}/bin/pamixer -d 5"; on-scroll-down = "${pkgs.pamixer}/bin/pamixer -d 5";
}; };
disk = {
format = "󰋊 {percentage_used}%";
path = config.home.homeDirectory;
};
cpu = {
format = "󰻠 {usage}%";
tooltip = false;
};
memory = {format = "󰍛 {}%";};
temperature = {
critical-threshold = 80;
format = "{icon} {temperatureC}°C";
format-icons = ["󱃃" "󰔏" "󱃂"];
};
network = { network = {
format-icons = ["󰤟 " "󰤢 " "󰤥 " "󰤨 "]; format-wifi = " ";
format-wifi = "{icon}"; format-ethernet = " ";
format-ethernet = "󰈁 ";
tooltip-format = "{essid} ({signalStrength}%)"; tooltip-format = "{essid} ({signalStrength}%)";
format-linked = "󰈂 ";
format-disconnected = "󰈂 ";
}; };
bluetooth = { bluetooth = {
format = "󰂯 "; format = " ";
format-disabled = "󰂲 ";
format-off = "󰂲 ";
format-on = "󰂯 ";
format-connected = "󰂱 ";
tooltip-format = "{status} | {device_alias}"; tooltip-format = "{status} | {device_alias}";
on-click = "${pkgs.bluez}/bin/bluetoothctl power on"; on-click = "${pkgs.bluez}/bin/bluetoothctl power on";
on-click-right = "${pkgs.bluez}/bin/bluetoothctl power off"; on-click-right = "${pkgs.bluez}/bin/bluetoothctl power off";
}; };
"clock#calendar" = { "clock#calendar" = {
format = "{:󰃭 %Y-%m-%d}"; format = "{: %Y-%m-%d}";
tooltip-format = "<tt><small>{calendar}</small></tt>"; tooltip-format = "<tt><small>{calendar}</small></tt>";
calendar = { calendar = {
mode = "month"; mode = "month";
@ -165,7 +141,7 @@
on-scroll-down = "shift_down"; on-scroll-down = "shift_down";
}; };
}; };
clock = {format = "{:󰥔 %R}";}; clock = {format = "{: %R}";};
backlight = { backlight = {
format = "{icon}"; format = "{icon}";
tooltip-format = "{percent}%"; tooltip-format = "{percent}%";
@ -177,10 +153,10 @@
critical = 20; critical = 20;
}; };
format = "{icon}"; format = "{icon}";
format-charging = "󰂄 "; format-charging = " ";
format-plugged = "󰚥 "; format-plugged = " ";
tooltip-format = "{capacity}% {time}"; tooltip-format = "{capacity}% {time}";
format-icons = ["󱃍 " "󰁺 " "󰁻 " "󰁼 " "󰁽 " "󰁾 " "󰁿 " "󰂀 " "󰂁 " "󰂂 " "󰁹 "]; format-icons = [" " " " " " " " " "];
}; };
"custom/notification" = let "custom/notification" = let
swaync = pkgs.swaynotificationcenter; swaync = pkgs.swaynotificationcenter;
@ -188,14 +164,14 @@
"tooltip" = false; "tooltip" = false;
"format" = "{icon}{}"; "format" = "{icon}{}";
"format-icons" = { "format-icons" = {
"notification" = "󱅫 "; "notification" = " ";
"none" = "󰂚 "; "none" = " ";
"dnd-notification" = "󰅸 "; "dnd-notification" = " ";
"dnd-none" = "󰂜 "; "dnd-none" = " ";
"inhibited-notification" = "󰅸 "; "inhibited-notification" = " ";
"inhibited-none" = "󰂜 "; "inhibited-none" = " ";
"dnd-inhibited-notification" = "󰅸 "; "dnd-inhibited-notification" = " ";
"dnd-inhibited-none" = "󰂜 "; "dnd-inhibited-none" = " ";
}; };
"return-type" = "json"; "return-type" = "json";
"exec-if" = "which ${swaync}/bin/swaync-client"; "exec-if" = "which ${swaync}/bin/swaync-client";