diff --git a/settings/settings.json b/settings/settings.json index a6df2ce..703d677 100644 --- a/settings/settings.json +++ b/settings/settings.json @@ -2,18 +2,18 @@ "appearance": { "accent": "base0D", "currentTheme": "base16-gruvbox-dark.json", - "font": "Inter", + "font": "Maple Mono Normal", "fontSize": 14, "iconSize": 16, - "rounding": 24 + "rounding": 20 }, "bar": { - "floating": true, + "floating": false, "height": 40, "opacity": 0.2 }, "wallpaper": { "wallDir": "/home/lucy/.walls/", - "wallpaper": "/home/lucy/.walls/lain_blue.jpg" + "wallpaper": "/home/lucy/.walls/walkingcastle.png" } } diff --git a/widgets/BarComponent.qml b/widgets/BarComponent.qml index aa55b7b..98449d8 100644 --- a/widgets/BarComponent.qml +++ b/widgets/BarComponent.qml @@ -10,7 +10,7 @@ Rectangle { property real activeBoost: 0.06 property bool active: false readonly property real baseLightness: Math.min(1.0, barColor.hslLightness + lightnessBoost) - property color base: Qt.hsla(barColor.hslHue, barColor.hslSaturation, active ? Math.min(1.0, baseLightness + activeBoost) : baseLightness) + property color base: Config.cfg.bar.floating ? Qt.hsla(barColor.hslHue, barColor.hslSaturation, active ? Math.min(1.0, baseLightness + activeBoost) : baseLightness) : barColor color: base implicitHeight: Config.cfg.bar.height - 8 radius: Config.cfg.appearance.rounding - 4