aboutsummaryrefslogtreecommitdiffstats
path: root/config/quickshell/modules/common/ConfigOptions.qml
blob: 3a9fa19470cd908da5ea47cf990620b5e6c938dc (plain) (blame)
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
33
34
35
36
37
38
39
40
41
42
43
44
import QtQuick
import Quickshell
pragma Singleton
pragma ComponentBehavior: Bound

Singleton {

    property QtObject appearance: QtObject {
        property int fakeScreenRounding: 1 // 0: None | 1: Always | 2: When not fullscreen
    }

    property QtObject overview: QtObject {
        property real scale: 0.15 // Relative to screen size
        property real numOfRows: 2
        property real numOfCols: 5
        property bool showXwaylandIndicator: true
        property real windowPadding: 6 
        property real position: 1 // 0: top | 1: middle | 2: bottom
        property real workspaceNumberSize: 120 // Set 0, dynamic calculation based on monitor size
        property bool showAllMonitors: true // Show windows from all monitors
    }

    property QtObject resources: QtObject {
        property int updateInterval: 3000
    }

    property QtObject hacks: QtObject {
        property int arbitraryRaceConditionDelay: 20 // milliseconds
    }

    property QtObject search: QtObject {
    property bool searchEnabled: false
    property int nonAppResultDelay: 30 // This prevents lagging when typing
    property QtObject prefix: QtObject {
            property string action: "/"
            property string clipboard: ";"
            property string emojis: ":"
        }
    }
    
    property QtObject bar: QtObject {
    property bool bottom: false // Instead of top
    }
}
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage