(defwidget vertical-statusbar-systray [] (systray :class "systray" :spacing 3 :orientation "h" :space-evenly true :icon-size 16 ) ) (deflisten workspaces-json-hdmi-a-1 :initial "[]" `~/.config/eww/scripts/workspaces.sh HDMI-A-1` ) (defwidget workspaces-vega [] (workspaces :workspaces-json workspaces-json-hdmi-a-1) ) (defwidget vertical-statusbar [] (box :orientation "v" :halign "fill" :spacing 8 :space-evenly false (clock-large) (workspaces-vega) (vertical-statusbar-systray) (system-monitor-group :name "Performance" :orientation "v" (system-monitor-perf-cpu) (system-monitor-perf-gpu) ) (system-monitor-disks) (system-monitor-net :interface "enp3s0") (system-monitor-audio) ) ) (defwindow vertical-statusbar :monitor '[ "", "LG ULTRAWIDE", "HDMI-A-1" ]' ;; Note that this geometry is crucial for setting the reserved space ;; properly. Changing the geometry may cause eww to no longer give the proper ;; reserved-space hints. :geometry (geometry :x "0%" :y "0%" :width "250px" :height "100%" :anchor "center left" ) :stacking "fg" :exclusive true :focusable false (vertical-statusbar) )