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 []
(centerbox :orientation "h"
(left)
(center)
(right)))
(bar0_left)
(bar0_center)
(bar0_right)))
(defwidget left []
(defwidget bar0_left []
(box :orientation 'h'
:class: 'left'
:space-evenly false
@@ -27,7 +27,7 @@
(hypr_active_window)))
(defwidget center []
(defwidget bar0_center []
(box :orientation 'h'
:class 'center'
:space-evenly false
@@ -35,7 +35,7 @@
(media)
(sysmon)))
(defwidget right []
(defwidget bar0_right []
(box
:orientation 'h'
:class 'right'

View File

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