aboutsummaryrefslogtreecommitdiff
path: root/home/rices/schrottkatze/niri/kdl/workspaces.kdl
blob: ab89dec625122ec8ca0b2550b8fd9c7d57646a5a (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
// WS Social
workspace "social"

spawn-at-startup "signal-desktop"
spawn-at-startup ".evolution-wrapped_"
spawn-at-startup "vesktop"
spawn-at-startup "deltachat"

window-rule {
    match app-id="^(signal|Element|org.gnome.Evolution|discord|steam|DeltaChat)$"
    open-on-workspace "social"
}

// WS Browser
workspace "browser"

spawn-at-startup "firefox"
spawn-at-startup "obsidian"

window-rule {
    match app-id="^firefox|Chromium-browser|obsidian$"
    open-on-workspace "browser"
}

binds {
    Mod+P { focus-workspace-up; }
    Mod+N { focus-workspace-down; }
    Mod+Ctrl+P { move-workspace-up; }
    Mod+Ctrl+N { move-workspace-down; }
    Mod+Shift+P { move-column-to-workspace-up; }
    Mod+Shift+N { move-column-to-workspace-down; }

    Mod+Q { focus-workspace "social"; }
    Mod+W { focus-workspace "browser"; }
    Mod+E { focus-workspace 3; }
    Mod+Ctrl+Q { move-column-to-workspace "social"; }
    Mod+Ctrl+W { move-column-to-workspace "browser"; }
    Mod+Ctrl+E { move-column-to-workspace 3; }

    Mod+1 { focus-workspace 4; }
    Mod+2 { focus-workspace 5; }
    Mod+3 { focus-workspace 6; }
    Mod+4 { focus-workspace 7; }
    Mod+5 { focus-workspace 8; }
    Mod+6 { focus-workspace 9; }
    Mod+7 { focus-workspace 10; }
    Mod+8 { focus-workspace 11; }
    Mod+9 { focus-workspace 12; }
    Mod+Ctrl+1 { move-column-to-workspace 4; }
    Mod+Ctrl+2 { move-column-to-workspace 5; }
    Mod+Ctrl+3 { move-column-to-workspace 6; }
    Mod+Ctrl+4 { move-column-to-workspace 7; }
    Mod+Ctrl+5 { move-column-to-workspace 8; }
    Mod+Ctrl+6 { move-column-to-workspace 9; }
    Mod+Ctrl+7 { move-column-to-workspace 10; }
    Mod+Ctrl+8 { move-column-to-workspace 11; }
    Mod+Ctrl+9 { move-column-to-workspace 12; }
}