Definde bar in newbar.yuck with variables. Changed monitors.sh from jank echo to use bar variables.

This commit is contained in:
willifan 2024-03-14 17:58:07 +01:00
parent 8d5435ee8a
commit c8ac4b08ea
7 changed files with 37 additions and 197 deletions

View file

@ -1,12 +1,17 @@
(defwindow bar
:monitor "0"
;;1400 x 25 laptopWindow
;;(defvar windows '[{"monitor":"0","width":"1400","height":"25"}]')
(defwindow bar [monitor width height]
:monitor "${monitor}"
:class "bar"
:geometry (geometry
:x "0%"
:y "5px"
:width "1400px"
:height "25px"
:width "${width}px"
:height "${height}px"
:anchor "top center")
:stacking "fg"
:exclusive true