feat: complete quickshell redesign

This commit is contained in:
johannes committed 2026-09-17 19:56:15 +02:00
1 parent 5245f4aaf2
commit 8be610fbdd
25 files changed
+1410 -401

No files matched your search

@@ -1,25 +1,28 @@
import QtQuick
import "."
// Colored fill bar for OSD volume/brightness and similar level readouts.
// Sharp-cornered track+fill for OSD volume/brightness and similar level
// readouts, and the base for slider-style controls in Quick Settings.
Item {
id: bar
property real value: 0 // 0..1
property color fillColor: Theme.colors.primary
height: 8
height: 10
Rectangle {
anchors.fill: parent
color: Theme.colors.surfaceHover
radius: height / 2
border.width: Theme.geometry.borderWidth
border.color: Theme.colors.crust
clip: true
Rectangle {
width: parent.width * Math.max(0, Math.min(1, bar.value))
height: parent.height
radius: parent.radius
width: Math.max(0, parent.width * Math.max(0, Math.min(1, bar.value)) - parent.border.width * 2)
height: parent.height - parent.border.width * 2
x: parent.border.width
y: parent.border.width
color: bar.fillColor
Behavior on width { NumberAnimation { duration: Theme.animation.durationFast } }