[vega] Sets up working system. [Eww] Moves config to be specific to drew-desktop
This commit is contained in:
@@ -0,0 +1,62 @@
|
||||
(defwidget secondary-bar []
|
||||
(box
|
||||
:class "statusbar"
|
||||
:orientation "h"
|
||||
:height 30
|
||||
(secondary-leftstuff)
|
||||
(secondary-rightstuff)
|
||||
)
|
||||
)
|
||||
|
||||
(defwidget secondary-leftstuff []
|
||||
(box
|
||||
:class "leftstuff"
|
||||
:orientation "h"
|
||||
:space-evenly true
|
||||
:halign "start"
|
||||
(workspaces-secondary)
|
||||
)
|
||||
)
|
||||
|
||||
(defwidget secondary-rightstuff []
|
||||
(box
|
||||
:class "rightstuff"
|
||||
:orientation "h"
|
||||
:halign "end"
|
||||
:space-evenly false
|
||||
(systray
|
||||
:class "systray"
|
||||
:spacing 3
|
||||
:orientation "h"
|
||||
:space-evenly true
|
||||
:icon-size 16
|
||||
)
|
||||
(power-button)
|
||||
)
|
||||
)
|
||||
|
||||
(defwidget bar-and-monitor []
|
||||
(box
|
||||
:class "bar-and-monitor"
|
||||
:orientation "v"
|
||||
:space-evenly false
|
||||
:spacing 8
|
||||
(system-monitor)
|
||||
(secondary-bar)
|
||||
)
|
||||
)
|
||||
|
||||
(defwindow secondary-statusbar
|
||||
:monitor '[ "<secondary>", "DP-1" ]'
|
||||
:geometry (geometry
|
||||
:x "0px"
|
||||
:y "0px"
|
||||
:width "1440px" ;; Eww seems to treat both monitors as having the same width, so explicitly set this one to 1440px so it doesn't overflow.
|
||||
:height "30px"
|
||||
:anchor "top center"
|
||||
)
|
||||
:stacking "fg"
|
||||
:exclusive true
|
||||
:focusable false
|
||||
(bar-and-monitor)
|
||||
)
|
||||
Reference in New Issue
Block a user