Update icons to new nerdfonts codepoints

This commit is contained in:
Erwin Boskma 2023-05-10 15:12:54 +02:00
parent 2da88c2742
commit 1a5e6c4b39
Signed by: erwin
SSH key fingerprint: SHA256:9LmFDe1C6jSrEyqxxvX8NtJBmcbB105XoqyUZF092bg
3 changed files with 30 additions and 30 deletions

View file

@ -23,12 +23,12 @@ in
config = mkIf cfg.enable { config = mkIf cfg.enable {
programs.rofi = { programs.rofi = {
enable = true; enable = true;
package = pkgs.rofi-wayland; package = cfg.package;
theme = ./launch.rasi; theme = ./launch.rasi;
terminal = cfg.terminal; terminal = cfg.terminal;
extraConfig = { extraConfig = {
modi = "drun"; modi = "drun";
font = "Overpass Nerd Font 10"; font = "Iosevka Nerd Font 10";
display-drun = ""; display-drun = "";
sidebar-mode = false; sidebar-mode = false;
show-icons = true; show-icons = true;

View file

@ -9,11 +9,11 @@ confirm() {
} }
# Options # Options
shutdown="" shutdown="󰐥" # Icon: power
reboot="" reboot="󰜉" # Icon: restart
lock="" lock="󰌾" # Icon: lock
hibernate="" hibernate="󰤄" # Icon: power_sleep
exit_wm="" exit_wm="󰗼" # Icon: exit_to_app
#shutdown="S" #shutdown="S"
#reboot="R" #reboot="R"
#lock="L" #lock="L"

View file

@ -52,13 +52,13 @@ in
"clock#date" = { "clock#date" = {
interval = 10; interval = 10;
format = " {:%e %b %Y}"; format = "󰃭 {:%e %b %Y}"; # Icon: calendar
tooltip-format = "{:%e %B %Y}"; tooltip-format = "{:%e %B %Y}";
}; };
"cpu" = { "cpu" = {
interval = 5; interval = 5;
format = " {usage}% ({load})"; format = "󰻠 {usage}% ({load})"; # Icon: cpu_64_bit
states = { states = {
warning = 70; warning = 70;
critical = 90; critical = 90;
@ -68,7 +68,7 @@ in
"custom/keyboard-layout" = { "custom/keyboard-layout" = {
exec = ''${pkgs.sway}/bin/swaymsg -t get_inputs | ${pkgs.jq}/bin/jq -r '.[] | select(.identifier == "36125:40349:splitkb_Kyria_rev1") | .xkb_active_layout_name' ''; exec = ''${pkgs.sway}/bin/swaymsg -t get_inputs | ${pkgs.jq}/bin/jq -r '.[] | select(.identifier == "36125:40349:splitkb_Kyria_rev1") | .xkb_active_layout_name' '';
interval = 30; interval = 30;
format = " {}"; # Icon: keyboard format = "󰌌 {}"; # Icon: keyboard
# Signal sent by Sway key binding (~/.config/sway/key-bindings) # Signal sent by Sway key binding (~/.config/sway/key-bindings)
signal = 1; # SIGHUP signal = 1; # SIGHUP
tooltip = false; tooltip = false;
@ -76,7 +76,7 @@ in
"memory" = { "memory" = {
interval = 5; interval = 5;
format = " {}%"; # Icon: memory format = "󰍛 {}%"; # Icon: memory
states = { states = {
warning = 70; warning = 70;
critical = 90; critical = 90;
@ -85,14 +85,14 @@ in
"network" = { "network" = {
interval = 5; interval = 5;
format-wifi = " {essid} ({signalStrength}%)"; # Icon: wifi format-wifi = "󰖩 {essid} ({signalStrength}%)"; # Icon: wifi
format-ethernet = " {ifname}: {ipaddr}/{cidr}"; # Icon: ethernet format-ethernet = "󰈀 {ifname}: {ipaddr}/{cidr}"; # Icon: ethernet
format-disconnected = " Disconnected"; format-disconnected = "󰲜 Disconnected"; # Icon: network_off_outline
tooltip-format = "{ifname}: {ipaddr}"; tooltip-format = "{ifname}: {ipaddr}";
}; };
"sway/mode" = { "sway/mode" = {
format = "<span style=\"italic\"> {}</span>"; # Icon: expand-arrows-alt format = "<span style=\"italic\">󰁌 {}</span>"; # Icon: arrow_expand_all
tooltip = false; tooltip = false;
}; };
@ -141,15 +141,15 @@ in
"wireplumber" = { "wireplumber" = {
format = "{icon} {volume}%"; format = "{icon} {volume}%";
format-muted = ""; format-muted = "󰖁"; # Icon: volume_off
format-icons = { format-icons = {
headphones = ""; headphones = "󰋋"; # Icon: headphones
handsfree = ""; handsfree = "󰋎"; # Icon: headset
headset = ""; headset = "󰋎"; # Icon: headset
phone = ""; phone = ""; # Icon: phone
portable = ""; portable = ""; # Icon: phone
car = ""; car = ""; # Icon: car
default = [ "" "奔" "" ]; default = [ "󰕿" "󰖀" "󰕾" ]; # Icons: volume_low volume_medium volume_high
}; };
on-click = "${pkgs.pavucontrol}/bin/pavucontrol"; on-click = "${pkgs.pavucontrol}/bin/pavucontrol";
on-click-middle = "${pkgs.helvum}/bin/helvum"; on-click-middle = "${pkgs.helvum}/bin/helvum";
@ -177,8 +177,8 @@ in
"idle_inhibitor" = { "idle_inhibitor" = {
format = "<span size=\"large\">{icon}</span>"; format = "<span size=\"large\">{icon}</span>";
format-icons = { format-icons = {
activated = ""; activated = "󰛐";
deactivated = ""; deactivated = "󰛑";
}; };
}; };
"custom/notifications" = { "custom/notifications" = {
@ -189,10 +189,10 @@ in
tooltip = false; tooltip = false;
format = "{icon}"; format = "{icon}";
format-icons = { format-icons = {
notification = "<span foreground='red'><sup></sup></span>"; notification = "<span foreground='red'><sup></sup></span>"; # Icon: bell_outline
none = ""; none = ""; # Icon: bell_outline
dnd-notification = "<span foreground='red'><sup></sup></span>"; dnd-notification = "<span foreground='red'><sup></sup></span>"; # Icon: bell_off_outline
dnd-none = ""; dnd-none = ""; # Icon: bell_off_outline
}; };
escape = true; escape = true;
}; };
@ -233,7 +233,7 @@ in
#waybar { #waybar {
background: rgba(0, 0, 0, 0.8); background: rgba(0, 0, 0, 0.8);
color: white; color: white;
font-family: "MesloLGM Nerd Font", sans-serif; font-family: "Iosevka Nerd Font", sans-serif;
font-size: 13px; font-size: 13px;
} }