fixed topbars on both monitors

This commit is contained in:
2025-03-08 09:33:02 +01:00
parent 228b8700a3
commit e4d744c995
2 changed files with 14 additions and 14 deletions

View File

@@ -13,11 +13,11 @@
(defwidget bar0 [] (defwidget bar0 []
(centerbox :orientation "h" (centerbox :orientation "h"
(left) (bar0_left)
(center) (bar0_center)
(right))) (bar0_right)))
(defwidget left [] (defwidget bar0_left []
(box :orientation 'h' (box :orientation 'h'
:class: 'left' :class: 'left'
:space-evenly false :space-evenly false
@@ -27,7 +27,7 @@
(hypr_active_window))) (hypr_active_window)))
(defwidget center [] (defwidget bar0_center []
(box :orientation 'h' (box :orientation 'h'
:class 'center' :class 'center'
:space-evenly false :space-evenly false
@@ -35,7 +35,7 @@
(media) (media)
(sysmon))) (sysmon)))
(defwidget right [] (defwidget bar0_right []
(box (box
:orientation 'h' :orientation 'h'
:class 'right' :class 'right'

View File

@@ -9,15 +9,15 @@
:exclusive true :exclusive true
:reserve (struts :side "top" :distance "4%") :reserve (struts :side "top" :distance "4%")
:windowtype "dock" :windowtype "dock"
(bar0)) (bar1))
(defwidget bar0 [] (defwidget bar1 []
(centerbox :orientation "h" (centerbox :orientation "h"
(left) (bar1_left)
(center) (bar1_center)
(right))) (bar1_right)))
(defwidget left [] (defwidget bar1_left []
(box :orientation 'h' (box :orientation 'h'
:class: 'left' :class: 'left'
:space-evenly false :space-evenly false
@@ -26,14 +26,14 @@
(hypr_workspaces))) (hypr_workspaces)))
(defwidget center [] (defwidget bar1_center []
(box :orientation 'h' (box :orientation 'h'
:class 'center' :class 'center'
:space-evenly false :space-evenly false
:spacing 5 :spacing 5
(sysmon))) (sysmon)))
(defwidget right [] (defwidget bar1_right []
(box (box
:orientation 'h' :orientation 'h'
:class 'right' :class 'right'