make config use json instead of shitty qt implementation
This commit is contained in:
parent
4e294cb377
commit
31965a0dba
40 changed files with 272 additions and 745 deletions
|
|
@ -1,8 +1,8 @@
|
|||
import Quickshell
|
||||
import QtQuick
|
||||
import QtQuick.Layouts
|
||||
import qs.modules.wallpaper
|
||||
import qs.settings
|
||||
import qs.modules.applets
|
||||
import qs
|
||||
|
||||
Variants {
|
||||
|
|
@ -17,14 +17,14 @@ Variants {
|
|||
right: true
|
||||
}
|
||||
color: 'transparent'
|
||||
implicitHeight: Config.barHeight
|
||||
margins.top: Config.floating ? 10 : 0
|
||||
margins.left: Config.floating ? 10 : 0
|
||||
margins.right: Config.floating ? 10 : 0
|
||||
implicitHeight: Config.cfg.bar.height
|
||||
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
|
||||
radius: Config.floating ? Config.rounding : 0
|
||||
radius: Config.cfg.bar.floating ? Config.cfg.appearance.rounding : 0
|
||||
RowLayout {
|
||||
anchors.leftMargin: 4
|
||||
anchors.left: parent.left
|
||||
|
|
@ -44,7 +44,6 @@ Variants {
|
|||
anchors.verticalCenter: parent.verticalCenter
|
||||
Mpris {}
|
||||
Bat {}
|
||||
|
||||
Tray {}
|
||||
WallPicker {
|
||||
screenHeight: root.screen.height
|
||||
|
|
|
|||
Loading…
Reference in a new issue