blob: 4d0eeeca0cad98e6ead365ba448f46a524b95c66 (
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
# vim: ft=i3config
# NOTE: never use assign, it crashes sway for some reason...
# for_window [floating] border csd
for_window [app_id="mpv"] max_render_time off
for_window [app_id="foot"] max_render_time 4
for_window [app_id="firefox.*"] max_render_time 6
for_window [app_id="mpv"] floating enable; inhibit_idle open
# for_window [app_id="mpv" title=".* - mvi$"] border pixel $bpix;
for_window [app_id="imv"] floating enable; inhibit_idle open
for_window [app_id="^__floating-.*"] floating enable
for_window [class="pinentry"] floating enable; border normal
# for_window [class="zoom" title="Settings"] floating enable
# for_window [class="zoom" title="Zoom - Converting.*"] floating enable
for_window [class="zoom"] floating enable
for_window [title="tridactyledit"] floating enable
for_window [app_id="launcher"] floating enable
for_window [class="balena-etcher-electron"] floating enable; border normal
for_window [app_id="firefox.*" title="Picture-in-Picture"] floating enable, sticky enable, border none
# for_window [app_id="firefox.*" title="^Developer Tools"] floating enable
for_window [app_id="firefox.*" title="Sharing Indicator$"] floating enable, border none, sticky enable; exec centercon 1 tr; focus mode_toggle
for_window [app_id="firefox.*" title="^Close tabs?"] floating enable
for_window [app_id="firefox.*" title="^File Upload$"] floating enable
# exec centercon -w .6
for_window [app_id="firefox.*" title="^Save As$"] floating enable
# exec centercon -w .6
for_window [app_id="firefox.*" title="^Open Firefox in Troubleshoot Mode?$"] floating enable
for_window [app_id="multimc" title="Folder$"] floating enable
for_window [app_id="telegramdesktop" title="^Choose Files$"] floating enable; exec centercon -w .6
for_window [app_id="Telegram" title="^Choose Files$"] floating enable; exec centercon -w .6
for_window [app_id="telegramdesktop" title="^Media viewer$"] floating enable
for_window [app_id="Telegram" floating] exec centercon -w .6
for_window [app_id="telegramdesktop" floating] exec centercon -w .6
for_window [app_id="obs" title="^Local File$"] floating enable; exec centercon -w .6
# Tag windows
for_window [app_id="firefox.*"] mark browser
for_window [class="Nightly"] mark browser
for_window [class="Chromium-browser"] mark work; mark browser
for_window [class="Mail"] mark mail
for_window [class="discord"] mark mail
for_window [app_id="telegramdesktop"] mark mail
for_window [app_id="firefox.*" title="^web.whatsapp.com"] mark mail
for_window [con_mark="browser"] inhibit_idle fullscreen
# Move around
set $outputSide eDP-1
for_window [con_mark="work"] move workspace 3
for_window [con_mark="mail"] move workspace 2, move workspace to output $outputSide, layout tabbed
for_window [class="Spotify"] move workspace $wsMusic, move workspace to output $outputSide
for_window [class="osu!"] move workspace $wsGame, layout tabbed, exec osu-mode on
for_window [class="KeePassXC"] move scratchpad; scratchpad show
for_window [app_id="Password Safe"] move scratchpad; scratchpad show
for_window [class="Gvncviewer"] move workspace __vnc; fullscreen
|