aboutsummaryrefslogtreecommitdiff
path: root/modules/system/quickshell/Squircle.qml
diff options
context:
space:
mode:
Diffstat (limited to 'modules/system/quickshell/Squircle.qml')
-rw-r--r--modules/system/quickshell/Squircle.qml12
1 files changed, 12 insertions, 0 deletions
diff --git a/modules/system/quickshell/Squircle.qml b/modules/system/quickshell/Squircle.qml
new file mode 100644
index 0000000..1d505c9
--- /dev/null
+++ b/modules/system/quickshell/Squircle.qml
@@ -0,0 +1,12 @@
+import QtQuick
+
+ShaderEffect {
+ id: root
+
+ property color fillColor: "transparent"
+ property color strokeColor: "transparent"
+ property real strokeWidth: 0
+ property real cornerRadius: 12
+
+ fragmentShader: "squircle.qsb"
+}