fix settings issue

This commit is contained in:
lucy 2026-09-04 13:25:59 +02:00
commit ba2ed9e11d
3 changed files with 9 additions and 9 deletions

View file

@ -19,9 +19,9 @@ Variants {
color: 'transparent' color: 'transparent'
implicitHeight: Config.cfg.bar.height implicitHeight: Config.cfg.bar.height
margins.top: Config.cfg.bar.floating ?? 10 margins.top: Config.cfg.bar.floating ? 10 : 0
margins.left: Config.cfg.bar.floating ?? 10 margins.left: Config.cfg.bar.floating ? 10 : 0
margins.right: Config.cfg.bar.floating ?? 10 margins.right: Config.cfg.bar.floating ? 10 : 0
Rectangle { Rectangle {
anchors.fill: parent anchors.fill: parent
color: Colors.barBg color: Colors.barBg
@ -54,7 +54,6 @@ Variants {
} }
Bat { Bat {
id: bat id: bat
} }
StyledText { StyledText {
text: "|" text: "|"

View file

@ -31,7 +31,7 @@ Singleton {
property int rounding: 16 property int rounding: 16
} }
property JsonObject bar: JsonObject { property JsonObject bar: JsonObject {
property bool floating: true property bool floating: false
property int height: 40 property int height: 40
property real opacity: 1.0 property real opacity: 1.0
} }

View file

@ -5,9 +5,10 @@ import qs.modules.bar
import qs.modules.notifications import qs.modules.notifications
import qs.modules.overlays import qs.modules.overlays
import qs.modules.Services import qs.modules.Services
import qs.settings
ShellRoot { ShellRoot {
Bar {}
Bottom {} Bottom {}
Top {} Top {}
Bar {}
} }