From: Andrew Date: Thu, 21 Aug 2025 20:29:05 +0000 (-0400) Subject: change waybar icons to match workspaces X-Git-Url: http://git.skullheadx.com/tech/index.html?a=commitdiff_plain;h=4010671d170a9c079fa70c4f263b341b464d0e22;p=nixos.git change waybar icons to match workspaces --- diff --git a/hyprland/binds.nix b/hyprland/binds.nix index 330a0c4..d12a957 100644 --- a/hyprland/binds.nix +++ b/hyprland/binds.nix @@ -11,7 +11,7 @@ let "$mod, code:1${toString i}, workspace, ${toString ws}" "$mod SHIFT, code:1${toString i}, movetoWorkspace, ${toString ws}" ] - ) 9 + ) 10 ); in { diff --git a/hyprland/hyprland.nix b/hyprland/hyprland.nix index 269b484..48a3431 100644 --- a/hyprland/hyprland.nix +++ b/hyprland/hyprland.nix @@ -22,32 +22,32 @@ }; workspace = [ - "1, monitor:DP-3" - "2, monitor:DP-3" - "3, monitor:DP-3" - "4, monitor:DP-3" - "5, monitor:DP-3" - "6, monitor:DP-2" + "1, monitor:DP-3" # term + "2, monitor:DP-2" # browser + "3, monitor:DP-3" # music + "4, monitor:DP-2" # discord + "5, monitor:DP-3" # games + "6, monitor:DP-2" # password manager "7, monitor:DP-2" - "8, monitor:DP-2" - "9, monitor:DP-2" - "0, monitor:DP-2" + "8, monitor:DP-2" # steam + "9, monitor:DP-3" # notes + "10, monitor:DP-2" "w[tv1], gapsout:0, gapsin:0" "f[1], gapsout:0, gapsin:0" ]; exec-once = [ "xrandr --output DP-3 --primary" "uwsm app -- waybar" -# "systemctl --user enable --now ./../hyprpaper.service" "[workspace 1 silent] uwsm app -- ghostty" - "[workspace 2 silent] uwsm app -- ghostty -e rmpc" - "[workspace 3 silent] uwsm app -- obsidian" - "[workspace 6 silent] uwsm app -- brave" - "[workspace 7 silent] uwsm app -- discord" + "[workspace 2 silent] uwsm app -- brave" + "[workspace 3 silent] uwsm app -- ghostty -e rmpc" + "[workspace 4 silent] uwsm app -- discord" + "[workspace 6 silent] uwsm app -- keepassxc" "[workspace 8 silent] uwsm app -- steam" + "[workspace 9 silent] uwsm app -- obsidian" ]; windowrule = [ - "workspace 7 silent, class:(discord)" + "workspace 4 silent, class:(discord)" "workspace 8 silent, class:(steam)" "bordersize 0, floating:0, onworkspace:w[tv1]" "rounding 0, floating:0, onworkspace:w[tv1]" diff --git a/waybar.nix b/waybar.nix index 9cf5d0b..905dcd6 100644 --- a/waybar.nix +++ b/waybar.nix @@ -33,14 +33,15 @@ format = "{icon}"; format-icons = { "1" = ""; - "2" = ""; - "3" = ""; - "4" = "4"; - "5" = "5"; - "6" = ""; - "7" = ""; + "2" = ""; + "3" = ""; + "4" = ""; + "5" = "󰡈"; + "6" = ""; + "7" = "7"; "8" = ""; - "9" = "9"; + "9" = "󰠮"; + "10" = "10"; }; }; @@ -139,14 +140,15 @@ format = "{icon}"; format-icons = { "1" = ""; - "2" = ""; - "3" = ""; - "4" = "4"; - "5" = "5"; - "6" = ""; - "7" = ""; + "2" = ""; + "3" = ""; + "4" = ""; + "5" = "󰡈"; + "6" = ""; + "7" = "7"; "8" = ""; - "9" = "9"; + "9" = "󰠮"; + "10" = "10"; }; };