aboutsummaryrefslogtreecommitdiffstats
path: root/modules/desktop/eww/bar.yuck
diff options
context:
space:
mode:
Diffstat (limited to 'modules/desktop/eww/bar.yuck')
-rw-r--r--modules/desktop/eww/bar.yuck4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/desktop/eww/bar.yuck b/modules/desktop/eww/bar.yuck
index 52dba32..48fe1db 100644
--- a/modules/desktop/eww/bar.yuck
+++ b/modules/desktop/eww/bar.yuck
@@ -38,7 +38,7 @@
(box :class "workspace-button ${ws.is_active ? 'active' : ''}" :halign "fill"
(overlay :halign "fill"
(image :class "workspace-icon"
- :path "${ws.icon != '' ? ws.icon : '@@icon-unknown@@'}"
+ :path "${ws.icon}"
:image-width 20 :image-height 20)
(label :class "workspace-idx" :text "${ws.idx}" :halign "end" :valign "end")))))))
@@ -51,7 +51,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 : '@@icon-unknown@@'}" :image-width 20 :image-height 20))))))
+ (image :class "window-icon" :path "${w.icon}" :image-width 20 :image-height 20))))))
(defwidget system-widget []
(box :orientation "v" :space-evenly false :spacing 6 :halign "fill" :class "system"