aboutsummaryrefslogtreecommitdiff
path: root/dot_config/hypr/config/rules.conf
blob: 314ba63a5f76a3e454943fefe1189debabfa4a5b (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
# windowrule = suppress_event maximize, class:.* # You'll probably like this.

# Workspace rules
workspace=1,monitor:DP-7,default:true,persistent:true
workspace=2,monitor:DP-7,persistent:true
workspace=3,monitor:DP-7,persistent:true
workspace=4,monitor:DP-7,persistent:true
workspace=5,monitor:DP-7,persistent:true

workspace=6,monitor:DP-6,default:true,persistent:true
workspace=7,monitor:DP-6,persistent:true
workspace=8,monitor:DP-6,persistent:true
workspace=9,monitor:DP-6,persistent:true
workspace=10,monitor:DP-6,persistent:true

# Other
windowrule = stay_focused on, match:class swappy
windowrule = allows_input on, match:class discord
windowrule = monitor DP-6, match:class discord

windowrule {
  name = steam

  match:class = steam

  monitor = DP-3
  workspace = 7 silent
  no_initial_focus = on

  focus_on_activate = off
  suppress_event = activatefocus
}

windowrule = no_focus on, no_initial_focus on, match:class ^(steam)$, match:title ^(notificationtoasts_*)$

windowrule = float on, match:class ^(jetbrains-.*)$, match:title ^(win[0-9]+)$
windowrule = no_focus on, match:class ^(jetbrains-.*)$, match:title ^(win[0-9]+)$

# Smart gaps
workspace = w[tv1], gapsout:0, gapsin:0
workspace = f[1], gapsout:0, gapsin:0
windowrule = border_size 0, match:float 0, match:workspace w[tv1]
windowrule = rounding 0, match:float 0, match:workspace w[tv1]
windowrule = border_size 0, match:float 0, match:workspace f[1]
windowrule = rounding 0, match:float 0, match:workspace f[1]