fix settings issue
This commit is contained in:
parent
021c82f438
commit
ba2ed9e11d
3 changed files with 9 additions and 9 deletions
|
|
@ -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
|
||||||
|
|
@ -50,22 +50,21 @@ Variants {
|
||||||
}
|
}
|
||||||
StyledText {
|
StyledText {
|
||||||
text: "|"
|
text: "|"
|
||||||
visible: mpris.visible
|
visible: mpris.visible
|
||||||
}
|
}
|
||||||
Bat {
|
Bat {
|
||||||
id: bat
|
id: bat
|
||||||
|
|
||||||
}
|
}
|
||||||
StyledText {
|
StyledText {
|
||||||
text: "|"
|
text: "|"
|
||||||
visible: bat.visible
|
visible: bat.visible
|
||||||
}
|
}
|
||||||
Tray {
|
Tray {
|
||||||
id: tray
|
id: tray
|
||||||
}
|
}
|
||||||
StyledText {
|
StyledText {
|
||||||
text: "|"
|
text: "|"
|
||||||
visible: tray.visible
|
visible: tray.visible
|
||||||
}
|
}
|
||||||
WallPickerButton {
|
WallPickerButton {
|
||||||
id: wpButton
|
id: wpButton
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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 {}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue