add background to ws module

This commit is contained in:
lucy 2026-08-16 12:42:40 +02:00
commit 59d4fcde72
2 changed files with 7 additions and 7 deletions

View file

@ -34,10 +34,10 @@ Variants {
anchors.fill: parent
RowLayout {
id: leftLayout
spacing: 10
spacing: 5
anchors.left: parent.left
anchors.verticalCenter: parent.verticalCenter
anchors.leftMargin: Config.floating ? (Config.barHeight - root.moduleHeight) / 2 : Config.rounding
anchors.leftMargin: Config.floating ? (Config.barHeight - root.moduleHeight) / 2 : Config.rounding == 0 ? 10 : Config.rounding
Ws {
moduleHeight: root.moduleHeight
barScreen: root.modelData
@ -64,8 +64,8 @@ Variants {
id: rightLayout
anchors.right: parent.right
anchors.verticalCenter: parent.verticalCenter
spacing: 15
anchors.rightMargin: Config.floating ? (Config.barHeight - root.moduleHeight) / 2 : Config.rounding
spacing: 5
anchors.rightMargin: Config.floating ? (Config.barHeight - root.moduleHeight) / 2 : Config.rounding == 0 ? 10 : Config.rounding
Mpris {
moduleHeight: root.moduleHeight
}