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 {
programs.rofi = {
enable = true;
package = pkgs.rofi-wayland;
package = cfg.package;
theme = ./launch.rasi;
terminal = cfg.terminal;
extraConfig = {
modi = "drun";
font = "Overpass Nerd Font 10";
font = "Iosevka Nerd Font 10";
display-drun = "";
sidebar-mode = false;
show-icons = true;

View file

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

View file

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