summaryrefslogtreecommitdiff
path: root/config/General.qml
blob: a9f9929389d5cb3d581443fed8ec2fe137b5873f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
pragma Singleton

import Quickshell
import qs.components

Singleton {
    id: root

    readonly property int resourceUpdateInterval: 1

    readonly property real iconSize: Style.font.size.larger

    readonly property string cpuThermalPath: "/sys/class/thermal/thermal_zone0/temp"

    readonly property int rectMargin: Style.spacing.small

    readonly property int appIconSize: 25

    readonly property int appSearchFuzzySearchThreshold: 5

    readonly property int fontSize: Style.font.size.larger

    readonly property int animationDuration: Style.anim.durations.normal
    readonly property real springAnimationSpring: 8
    readonly property real springAnimationDamping: 0.4

    readonly property double accentTransparency: 0.15

    readonly property int defaultSearchAlgorithm: Searchable.SearchAlgorithm.Include

    readonly property int maxClipPreviewChar: 100
}