[eww] Creates vertical status bar for vega
This commit is contained in:
44
home-manager/features/eww/config/vertical-statusbar.yuck
Normal file
44
home-manager/features/eww/config/vertical-statusbar.yuck
Normal file
@@ -0,0 +1,44 @@
|
||||
(defwidget vertical-statusbar-systray []
|
||||
(systray
|
||||
:class "systray"
|
||||
:spacing 3
|
||||
:orientation "h"
|
||||
:space-evenly true
|
||||
:icon-size 16
|
||||
)
|
||||
)
|
||||
|
||||
(defwidget vertical-statusbar []
|
||||
(box
|
||||
:class "statusbar"
|
||||
:orientation "v"
|
||||
:spacing 8
|
||||
:space-evenly false
|
||||
(clock-large)
|
||||
(vertical-statusbar-systray)
|
||||
(system-monitor-group
|
||||
:name "Performance"
|
||||
:orientation "v"
|
||||
(system-monitor-perf-cpu)
|
||||
(system-monitor-perf-gpu)
|
||||
)
|
||||
(system-monitor-disks)
|
||||
(system-monitor-net)
|
||||
(system-monitor-audio)
|
||||
)
|
||||
)
|
||||
|
||||
(defwindow vertical-statusbar
|
||||
:monitor '[ "<primary>", "LG ULTRAWIDE", "HDMI-A-1" ]'
|
||||
:geometry (geometry
|
||||
:x "0px"
|
||||
:y "0px"
|
||||
:width "60px"
|
||||
:height "1440px"
|
||||
:anchor "top left"
|
||||
)
|
||||
:stacking "fg"
|
||||
:exclusive true
|
||||
:focusable false
|
||||
(vertical-statusbar)
|
||||
)
|
||||
Reference in New Issue
Block a user