summaryrefslogtreecommitdiff
path: root/config.ts
blob: 3ea635a46a6b19934efbf2896523a039e7e2744d (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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
import { Astal } from "astal/gtk3";

// Modules
export const bar = {
    wsPerGroup: 10,
    dateTimeFormat: "%d/%m/%y %R",
};

export const launcher = {
    maxResults: 15,
    fdOpts: ["-a", "-t", "f"],
    pins: [
        ["firefox", "waterfox", "google-chrome", "chromium", "brave-browser", "vivaldi-stable", "vivaldi-snapshot"],
        ["foot", "alacritty", "kitty", "wezterm"],
        ["thunar", "nemo", "nautilus"],
        ["codium", "code", "clion", "intellij-idea-ultimate-edition"],
        ["spotify-adblock", "spotify", "audacious", "elisa"],
    ],
    windows: {
        // Weights for fuzzysort
        title: 1,
        class: 1,
        initialTitle: 0.5,
        initialClass: 0.5,
    },
};

export const notifpopups = {
    maxPopups: -1,
    expire: false,
};

export const osds = {
    volume: {
        position: Astal.WindowAnchor.RIGHT,
        margin: 20,
        hideDelay: 1500,
        showValue: true,
    },
    brightness: {
        position: Astal.WindowAnchor.LEFT,
        margin: 20,
        hideDelay: 1500,
        showValue: true,
    },
    lock: {
        spacing: 5,
        caps: {
            hideDelay: 1000,
        },
        num: {
            hideDelay: 1000,
        },
    },
};

// Services
export const updates = {
    interval: 900000,
};