Start on new bar
This commit is contained in:
parent
a7698d8833
commit
3b587f3e15
9 changed files with 311 additions and 4 deletions
31
modules/user/modules/quickshell/shell/ShellGlobals.qml
Normal file
31
modules/user/modules/quickshell/shell/ShellGlobals.qml
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
pragma Singleton
|
||||
|
||||
import QtQuick
|
||||
import Quickshell
|
||||
|
||||
Singleton {
|
||||
readonly property var colors: QtObject {
|
||||
readonly property var bar: "#30e0ffff";
|
||||
readonly property var barOutline: "#50ffffff";
|
||||
readonly property var widget: "#40e0ffff";
|
||||
readonly property var widgetOutline: "#60ffffff";
|
||||
}
|
||||
|
||||
readonly property var popoutXCurve: EasingCurve {
|
||||
curve.type: Easing.OutQuint
|
||||
}
|
||||
|
||||
readonly property var popoutYCurve: EasingCurve {
|
||||
curve.type: Easing.InQuart
|
||||
}
|
||||
|
||||
property var time: new Date();
|
||||
|
||||
Timer {
|
||||
interval: 1000
|
||||
running: true
|
||||
repeat: true
|
||||
|
||||
onTriggered: time = new Date()
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue