Definde bar in newbar.yuck with variables. Changed monitors.sh from jank echo to use bar variables.
This commit is contained in:
parent
8d5435ee8a
commit
c8ac4b08ea
7 changed files with 37 additions and 197 deletions
13
newbar.yuck
13
newbar.yuck
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue