From cba440bcfced79eda2764e441c68239b6c594457 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Mon, 28 Apr 2025 00:21:53 +1000 Subject: feat: anims + box padding box provide padding and animate size and colour provide box and boxlayout for with/without layout provide clippingbox provide label for anim + rendertype configure QtQuick controls --- config/Appearance.qml | 18 ++++++++++++++++++ config/BarConfig.qml | 13 +++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 config/BarConfig.qml (limited to 'config') diff --git a/config/Appearance.qml b/config/Appearance.qml index 8c441b1..263b653 100644 --- a/config/Appearance.qml +++ b/config/Appearance.qml @@ -54,6 +54,24 @@ Singleton { } } + readonly property QtObject anim: QtObject { + readonly property QtObject curves: QtObject { + readonly property list emphasized: [0.05, 0, 2 / 15, 0.06, 1 / 6, 0.4, 5 / 24, 0.82, 0.25, 1, 1, 1] + readonly property list emphasizedAccel: [0.3, 0, 0.8, 0.15, 1, 1] + readonly property list emphasizedDecel: [0.05, 0.7, 0.1, 1, 1, 1] + readonly property list standard: [0.2, 0, 0, 1, 1, 1] + readonly property list standardAccel: [0.3, 0, 1, 1, 1, 1] + readonly property list standardDecel: [0, 0, 0, 1, 1, 1] + } + + readonly property QtObject durations: QtObject { + readonly property int small: 200 + readonly property int normal: 400 + readonly property int large: 600 + readonly property int extraLarge: 1000 + } + } + readonly property QtObject colours: QtObject { property color primary: "#85D2E7" property color secondary: "#B2CBD3" diff --git a/config/BarConfig.qml b/config/BarConfig.qml new file mode 100644 index 0000000..a61e7cd --- /dev/null +++ b/config/BarConfig.qml @@ -0,0 +1,13 @@ +pragma Singleton + +import Quickshell +import QtQuick + +Singleton { + property bool vertical: false + + readonly property QtObject workspaces: QtObject { + property int shown: 10 + property string style: "" + } +} -- cgit v1.2.3-freya