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'
|
||||
implicitHeight: Config.cfg.bar.height
|
||||
margins.top: Config.cfg.bar.floating ?? 10
|
||||
margins.left: Config.cfg.bar.floating ?? 10
|
||||
margins.right: Config.cfg.bar.floating ?? 10
|
||||
margins.top: Config.cfg.bar.floating ? 10 : 0
|
||||
margins.left: Config.cfg.bar.floating ? 10 : 0
|
||||
margins.right: Config.cfg.bar.floating ? 10 : 0
|
||||
Rectangle {
|
||||
anchors.fill: parent
|
||||
color: Colors.barBg
|
||||
|
|
@ -50,22 +50,21 @@ Variants {
|
|||
}
|
||||
StyledText {
|
||||
text: "|"
|
||||
visible: mpris.visible
|
||||
visible: mpris.visible
|
||||
}
|
||||
Bat {
|
||||
id: bat
|
||||
|
||||
}
|
||||
StyledText {
|
||||
text: "|"
|
||||
visible: bat.visible
|
||||
visible: bat.visible
|
||||
}
|
||||
Tray {
|
||||
id: tray
|
||||
}
|
||||
StyledText {
|
||||
text: "|"
|
||||
visible: tray.visible
|
||||
visible: tray.visible
|
||||
}
|
||||
WallPickerButton {
|
||||
id: wpButton
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ Singleton {
|
|||
property int rounding: 16
|
||||
}
|
||||
property JsonObject bar: JsonObject {
|
||||
property bool floating: true
|
||||
property bool floating: false
|
||||
property int height: 40
|
||||
property real opacity: 1.0
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,9 +5,10 @@ import qs.modules.bar
|
|||
import qs.modules.notifications
|
||||
import qs.modules.overlays
|
||||
import qs.modules.Services
|
||||
import qs.settings
|
||||
|
||||
ShellRoot {
|
||||
Bar {}
|
||||
Bottom {}
|
||||
Top {}
|
||||
Bar {}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue