aboutsummaryrefslogtreecommitdiff
path: root/modules/system/quickshell/PillSlider.qml
diff options
context:
space:
mode:
authorLeander Scherer <leander@schererleander.de>2026-05-30 15:35:27 +0200
committerLeander Scherer <leander@schererleander.de>2026-05-30 15:35:27 +0200
commitd2747e2ca1e211a32e91e44010f40a00e0ac97e4 (patch)
treefb229d6a18541c7a5f1944390b21edde028955f9 /modules/system/quickshell/PillSlider.qml
parent51b3cbd50b92d026549ce3ebff17ca9b3344f441 (diff)
feat(quickshell): add popup controls and privacy indicators
Diffstat (limited to 'modules/system/quickshell/PillSlider.qml')
-rw-r--r--modules/system/quickshell/PillSlider.qml12
1 files changed, 6 insertions, 6 deletions
diff --git a/modules/system/quickshell/PillSlider.qml b/modules/system/quickshell/PillSlider.qml
index 5330ef8..e24663d 100644
--- a/modules/system/quickshell/PillSlider.qml
+++ b/modules/system/quickshell/PillSlider.qml
@@ -12,15 +12,15 @@ Slider {
property color colorHandle: "#FFFFFF"
property color iconColor: Theme.iconDefault
- implicitHeight: 24
- padding: 0
+ implicitHeight: 24
+ padding: 0
background: Rectangle {
width: root.width
height: root.height
radius: height / 2
color: root.colorTrack
-
+
clip: true
Rectangle {
@@ -35,7 +35,7 @@ Slider {
anchors.left: parent.left
anchors.leftMargin: 6
anchors.verticalCenter: parent.verticalCenter
- source: Quickshell.iconPath(root.icon)
+ source: root.icon !== "" ? Quickshell.iconPath(root.icon) : ""
sourceSize: Qt.size(14, 14)
width: 14
height: 14
@@ -52,7 +52,7 @@ Slider {
handle: Item {
x: root.visualPosition * (root.availableWidth - width)
y: root.topPadding + root.availableHeight / 2 - height / 2
-
+
width: root.height
height: root.height
@@ -62,7 +62,7 @@ Slider {
radius: width / 2
color: root.colorHandle
border.width: 1
- border.color: "#1A000000"
+ border.color: "#1A000000"
}
MultiEffect {