diff options
| author | Arpit Chakladar <arpitchakladar+git@gmail.com> | 2026-08-27 01:45:17 +0530 |
|---|---|---|
| committer | Arpit Chakladar <arpitchakladar+git@gmail.com> | 2026-08-29 03:50:30 +0530 |
| commit | f3407d3d21c29eb4a59732d02f8f309b113fa480 (patch) | |
| tree | 1f5d02d6b3184290e680ba59ea108f3d7fa1a03f /modules/desktop/eww/yuck.nix | |
| parent | 4b4de9986e3525a89981d8ef4a1955c85d1b0c39 (diff) | |
| download | home-manager-config-f3407d3d21c29eb4a59732d02f8f309b113fa480.tar.gz home-manager-config-f3407d3d21c29eb4a59732d02f8f309b113fa480.zip | |
desktop: added the system information section and some basic styles
Diffstat (limited to 'modules/desktop/eww/yuck.nix')
| -rw-r--r-- | modules/desktop/eww/yuck.nix | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/modules/desktop/eww/yuck.nix b/modules/desktop/eww/yuck.nix index f4040d5..d522d9b 100644 --- a/modules/desktop/eww/yuck.nix +++ b/modules/desktop/eww/yuck.nix @@ -94,7 +94,9 @@ :vexpand true (workspaces-widget) (box :vexpand true) - (windows-widget))) + (windows-widget) + (box :vexpand true) + (system-widget))) (defwidget workspaces-widget [] (box :orientation "v" :space-evenly false :spacing 4 :halign "fill" :class "workspaces" @@ -118,6 +120,11 @@ :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/unknown.svg}'}" :image-width 20 :image-height 20)))))) + + (defwidget system-widget [] + (box :orientation "v" :space-evenly false :spacing 6 :halign "fill" :class "system" + (label :class "system-item" :text time) + (label :class "system-item" :text date))) ''; }; } |
