Skip to content

Commit fc485f9

Browse files
committed
feat(waybar): add desktop AI rewrite rules
Add rewrite rules for claude-desktop and codex-desktop to map their window classes to corresponding icons in both Sway and Hyprland waybar workspace configs. This fixes fallback question mark icons shown when they are running.
1 parent 52cdd6d commit fc485f9

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

modules/home/programs/graphical/bars/waybar/modules/hyprland-modules.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ in
6868
"class<Ardour-.*>" = "";
6969
"class<Bitwarden>" = "󰞀";
7070
"class<Caprine>" = "󰈎";
71+
"class<claude-desktop>" = "󰚩";
72+
"class<codex-desktop>" = "󱚣";
7173
"class<DBeaver>" = "";
7274
"class<Element>" = "󰭹";
7375
"class<Darktable>" = "󰄄";

modules/home/programs/graphical/bars/waybar/modules/sway-modules.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ in
5858
"class<Ardour-.*>" = "";
5959
"class<Bitwarden>" = "󰞀";
6060
"class<Caprine>" = "󰈎";
61+
"class<claude-desktop>" = "󰚩";
62+
"class<codex-desktop>" = "󱚣";
6163
"class<DBeaver>" = "";
6264
"class<Element>" = "󰭹";
6365
"class<Darktable>" = "󰄄";

0 commit comments

Comments
 (0)