change ws appearance
This commit is contained in:
parent
c96458ba3d
commit
8f775dedef
1 changed files with 4 additions and 4 deletions
|
|
@ -14,8 +14,8 @@ Rectangle {
|
|||
required property double moduleHeight
|
||||
property HyprlandMonitor hyprBarScreen: Hyprland.monitorFor(root.barScreen)
|
||||
radius: Config.rounding
|
||||
color: Colors.base01
|
||||
implicitWidth: wsLayout.implicitWidth + 4
|
||||
color: 'transparent'
|
||||
implicitWidth: wsLayout.implicitWidth
|
||||
implicitHeight: moduleHeight
|
||||
|
||||
RowLayout {
|
||||
|
|
@ -28,10 +28,10 @@ Rectangle {
|
|||
model: Hyprland.workspaces
|
||||
delegate: Rectangle {
|
||||
id: wsWrapper
|
||||
implicitHeight: root.moduleHeight - 4
|
||||
implicitHeight: root.moduleHeight
|
||||
implicitWidth: modelData.active ? 48 : 24
|
||||
parent: wsLayout
|
||||
color: modelData.active ? Colors.base0D : Colors.base01
|
||||
color: modelData.active ? Colors.base0D : 'transparent'
|
||||
radius: Config.rounding
|
||||
visible: modelData.monitor == root.hyprBarScreen
|
||||
required property var modelData
|
||||
|
|
|
|||
Loading…
Reference in a new issue