aboutsummaryrefslogtreecommitdiffstats
path: root/modules/desktop/eww/yuck.nix
diff options
context:
space:
mode:
authorArpit Chakladar <arpitchakladar+git@gmail.com>2026-08-27 00:48:09 +0530
committerArpit Chakladar <arpitchakladar+git@gmail.com>2026-08-29 03:50:30 +0530
commit26022cdaba2e3e542adcfd9570de3b04b6bc8541 (patch)
tree77045480173725f8082e6f6e19cf8457569c8865 /modules/desktop/eww/yuck.nix
parentc306d53594a6cefc2ecc39dd8d29f9edf1b8ed77 (diff)
downloadhome-manager-config-26022cdaba2e3e542adcfd9570de3b04b6bc8541.tar.gz
home-manager-config-26022cdaba2e3e542adcfd9570de3b04b6bc8541.zip
desktop: added an actual unknown window icon, fixed the scripts crashing
- using a question mark svg as the icon for unknown windows - the activate-windows and workspaces scripts encountered crashes when trying to get the icon, fixed it
Diffstat (limited to 'modules/desktop/eww/yuck.nix')
-rw-r--r--modules/desktop/eww/yuck.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/desktop/eww/yuck.nix b/modules/desktop/eww/yuck.nix
index 0654d9a..228db86 100644
--- a/modules/desktop/eww/yuck.nix
+++ b/modules/desktop/eww/yuck.nix
@@ -101,7 +101,7 @@
(box :class "workspace-button ''${ws.is_active ? 'active' : '''}" :halign "fill"
(overlay :halign "fill"
(image :class "workspace-icon"
- :path "''${ws.icon != ''' ? ws.icon : '${../../../assets/icons/obs.svg}'}"
+ :path "''${ws.icon != ''' ? ws.icon : '${../../../assets/icons/unknown.svg}'}"
:image-width 20 :image-height 20)
(label :class "workspace-idx" :text "''${ws.idx}" :halign "end" :valign "end")))))))
@@ -114,7 +114,7 @@
:halign "fill"
:tooltip "''${w.app_id}: ''${w.title != ''' ? ' ' : '''}''${w.title}"
(box :halign "fill" :class "window-button ''${w.is_focused ? 'focused' : '''}"
- (image :class "window-icon" :path "''${w.icon != ''' ? w.icon : '${../../../assets/icons/obs.svg}'}" :image-width 20 :image-height 20))))))
+ (image :class "window-icon" :path "''${w.icon != ''' ? w.icon : '${../../../assets/icons/unknown.svg}'}" :image-width 20 :image-height 20))))))
'';
};
}