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
|
required property double moduleHeight
|
||||||
property HyprlandMonitor hyprBarScreen: Hyprland.monitorFor(root.barScreen)
|
property HyprlandMonitor hyprBarScreen: Hyprland.monitorFor(root.barScreen)
|
||||||
radius: Config.rounding
|
radius: Config.rounding
|
||||||
color: Colors.base01
|
color: 'transparent'
|
||||||
implicitWidth: wsLayout.implicitWidth + 4
|
implicitWidth: wsLayout.implicitWidth
|
||||||
implicitHeight: moduleHeight
|
implicitHeight: moduleHeight
|
||||||
|
|
||||||
RowLayout {
|
RowLayout {
|
||||||
|
|
@ -28,10 +28,10 @@ Rectangle {
|
||||||
model: Hyprland.workspaces
|
model: Hyprland.workspaces
|
||||||
delegate: Rectangle {
|
delegate: Rectangle {
|
||||||
id: wsWrapper
|
id: wsWrapper
|
||||||
implicitHeight: root.moduleHeight - 4
|
implicitHeight: root.moduleHeight
|
||||||
implicitWidth: modelData.active ? 48 : 24
|
implicitWidth: modelData.active ? 48 : 24
|
||||||
parent: wsLayout
|
parent: wsLayout
|
||||||
color: modelData.active ? Colors.base0D : Colors.base01
|
color: modelData.active ? Colors.base0D : 'transparent'
|
||||||
radius: Config.rounding
|
radius: Config.rounding
|
||||||
visible: modelData.monitor == root.hyprBarScreen
|
visible: modelData.monitor == root.hyprBarScreen
|
||||||
required property var modelData
|
required property var modelData
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue