Convert bar0 and bar1 for second monitor support

This commit is contained in:
ItsDrike 2022-11-07 23:01:30 +01:00
parent 49afc714f6
commit ca8c1ee6fb
No known key found for this signature in database
GPG key ID: B014E761034AF742

View file

@ -7,7 +7,7 @@
(include "./modules/memory.yuck")
(include "./modules/uptime.yuck")
; (include "./modules/kernel.yuck")
(include "./modules/battery.yuck")
; (include "./modules/battery.yuck")
(include "./modules/window_name.yuck")
(include "./modules/workspaces.yuck")
@ -31,8 +31,8 @@
; (sep)
(volume_module)
(sep)
(battery_module)
(sep)
; (battery_module)
; (sep)
(bitcoin_module)
(sep)
(cpu_module)
@ -61,7 +61,7 @@
(center)
(right)))
(defwindow bar
(defwindow bar0
:monitor 0
:geometry (geometry :x "0%"
:y "0%"
@ -71,3 +71,15 @@
:stacking "fg"
:exclusive true
(bar))
(defwindow bar1
:monitor 1
:geometry (geometry :x "0%"
:y "0%"
:width: "100%"
:height "32px"
:anchor "top center")
:stacking "fg"
:exclusive true
(bar))