diff options
Diffstat (limited to 'modules/system/quickshell/IconCircle.qml')
| -rw-r--r-- | modules/system/quickshell/IconCircle.qml | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/modules/system/quickshell/IconCircle.qml b/modules/system/quickshell/IconCircle.qml deleted file mode 100644 index 35a399c..0000000 --- a/modules/system/quickshell/IconCircle.qml +++ /dev/null @@ -1,38 +0,0 @@ -import QtQuick -import QtQuick.Effects -import Quickshell - -Rectangle { - id: root - - property string source: "" - property bool active: false - property real size: 24 - - width: size - height: size - radius: size / 2 - color: active ? Theme.accent : Theme.surfaceLighter - - Image { - id: iconImage - anchors.centerIn: parent - width: parent.width * 0.6 - height: parent.height * 0.6 - source: Quickshell.iconPath(root.source.endsWith("-symbolic") ? root.source : root.source + "-symbolic") - sourceSize: Qt.size(width, height) - smooth: true - mipmap: true - - visible: false - } - - MultiEffect { - anchors.fill: iconImage - source: iconImage - colorizationColor: "#FFFFFF" - colorization: 1.0 - - opacity: root.active ? 1.0 : 0.6 - } -} |
