diff options
| -rw-r--r-- | assets/icons/unknown.svg | 3 | ||||
| -rw-r--r-- | modules/desktop/eww/bar.yuck | 4 | ||||
| -rw-r--r-- | modules/desktop/eww/yuck.nix | 2 |
3 files changed, 2 insertions, 7 deletions
diff --git a/assets/icons/unknown.svg b/assets/icons/unknown.svg deleted file mode 100644 index 3b3d2ce..0000000 --- a/assets/icons/unknown.svg +++ /dev/null @@ -1,3 +0,0 @@ -<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none"> - <path d="M8 3.5C6.34315 3.5 5 4.84315 5 6.5C5 7.05228 5.44772 7.5 6 7.5C6.55228 7.5 7 7.05228 7 6.5C7 5.94772 7.44772 5.5 8 5.5C8.55228 5.5 9 5.94772 9 6.5C9 7.05228 8.55228 7.5 8 7.5C7.17157 7.5 6.5 8.17157 6.5 9V10C6.5 10.5523 6.94772 11 7.5 11C8.05228 11 8.5 10.5523 8.5 10V9.85C9.97056 9.4005 11 8.0772 11 6.5C11 4.84315 9.65685 3.5 8 3.5ZM8.5 13C8.5 13.5523 8.05228 14 7.5 14C6.94772 14 6.5 13.5523 6.5 13C6.5 12.4477 6.94772 12 7.5 12C8.05228 12 8.5 12.4477 8.5 13Z" fill="#FFFFFF"/> -</svg> 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" diff --git a/modules/desktop/eww/yuck.nix b/modules/desktop/eww/yuck.nix index 611adf6..0efc0f1 100644 --- a/modules/desktop/eww/yuck.nix +++ b/modules/desktop/eww/yuck.nix @@ -47,7 +47,6 @@ in "@@workspaces-script@@" "@@windows-script@@" "@@systemstats-script@@" - "@@icon-unknown@@" "@@icon-offline@@" "@@icon-wifi@@" "@@icon-ethernet@@" @@ -60,7 +59,6 @@ in (lib.getExe workspaces) (lib.getExe activate-windows) (lib.getExe system-stats) - (toString ../../../assets/icons/unknown.svg) (toString ../../../assets/icons/bar/offline.svg) (toString ../../../assets/icons/bar/wifi.svg) (toString ../../../assets/icons/bar/ethernet.svg) |
