summaryrefslogtreecommitdiff
path: root/hypr/hyprland.conf
diff options
context:
space:
mode:
Diffstat (limited to 'hypr/hyprland.conf')
-rw-r--r--hypr/hyprland.conf60
1 files changed, 48 insertions, 12 deletions
diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf
index 2a64c9e..d5dc4d3 100644
--- a/hypr/hyprland.conf
+++ b/hypr/hyprland.conf
@@ -224,18 +224,42 @@ windowrule = center on, match:xwayland on, match:class negative:^(steam|REAPER)$
# Make Steam Big Picture Mode fullscreen
windowrule = fullscreen on, match:class ^(steam)$, match:title ^(Steam Big Picture Mode)$
# Fix scratchpad window spawn behavior
-windowrule = workspace +0, match:workspace name:sphtop, match:class negative:sphtop
-windowrule = workspace +0, match:workspace name:spterm, match:class negative:spterm
-windowrule = workspace +0, match:workspace name:sppmxr, match:class negative:sppmxr
-windowrule = workspace +0, match:workspace name:spblue, match:class negative:spblue
-windowrule = workspace +0, match:workspace name:spncmp, match:class negative:spncmp
-windowrule = workspace +0, match:workspace name:spmutt, match:class negative:spmutt
-windowrule = workspace +0, match:workspace name:spprof, match:class negative:spprof
-windowrule = workspace +0, match:workspace name:spirss, match:class negative:spirss
-windowrule = workspace +0, match:workspace name:spvimw, match:class negative:spvimw
-windowrule = workspace +0, match:workspace name:sptrmc, match:class negative:sptrmc
-windowrule = workspace +0, match:workspace name:helvum, match:class negative:helvum
-windowrule = workspace +0, match:workspace name:easyeffects, match:class negative:easyeffects
+windowrule = workspace +0, match:workspace name:sphtop, match:title negative:sphtop
+windowrule = workspace +0, match:workspace name:spterm, match:title negative:spterm
+windowrule = workspace +0, match:workspace name:sppmxr, match:title negative:sppmxr
+windowrule = workspace +0, match:workspace name:spblue, match:title negative:spblue
+windowrule = workspace +0, match:workspace name:spncmp, match:title negative:spncmp
+windowrule = workspace +0, match:workspace name:spmutt, match:title negative:spmutt
+windowrule = workspace +0, match:workspace name:spprof, match:title negative:spprof
+windowrule = workspace +0, match:workspace name:spirss, match:title negative:spirss
+windowrule = workspace +0, match:workspace name:spvimw, match:title negative:spvimw
+windowrule = workspace +0, match:workspace name:sptrmc, match:title negative:sptrmc
+windowrule = workspace +0, match:workspace name:helvum, match:title negative:helvum
+windowrule = workspace +0, match:workspace name:easyeffects, match:title negative:easyeffects
+windowrule = center on, match:title sphtop
+windowrule = center on, match:title spterm
+windowrule = center on, match:title sppmxr
+windowrule = center on, match:title spblue
+windowrule = center on, match:title spncmp
+windowrule = center on, match:title spmutt
+windowrule = center on, match:title spprof
+windowrule = center on, match:title spirss
+windowrule = center on, match:title spvimw
+windowrule = center on, match:title sptrmc
+windowrule = center on, match:title helvum
+windowrule = center on, match:title easyeffects
+windowrule = size monitor_w/2 monitor_h/2, match:title ^(sphtop)$
+windowrule = size monitor_w/2 monitor_h/2, match:title ^(spterm)$
+windowrule = size monitor_w/2 monitor_h/2, match:title ^(sppmxr)$
+windowrule = size monitor_w/2 monitor_h/2, match:title ^(spblue)$
+windowrule = size monitor_w/2 monitor_h/2, match:title ^(spncmp)$
+windowrule = size monitor_w/2 monitor_h/2, match:title ^(spmutt)$
+windowrule = size monitor_w/2 monitor_h/2, match:title ^(spprof)$
+windowrule = size monitor_w/2 monitor_h/2, match:title ^(spirss)$
+windowrule = size monitor_w/2 monitor_h/2, match:title ^(spvimw)$
+windowrule = size monitor_w/2 monitor_h/2, match:title ^(sptrmc)$
+windowrule = size monitor_w/2 monitor_h/2, match:title ^(helvum)$
+windowrule = size monitor_w/2 monitor_h/2, match:title ^(easyeffects)$
#}}}
#{{{ Layerrules
@@ -437,6 +461,18 @@ bind = $mainMod Control, M, exec, volsv -m
#}}}
#{{{ Scratchpads
+workspace = name:sphtop, persistent:false
+workspace = name:spterm, persistent:false
+workspace = name:sppmxr, persistent:false
+workspace = name:spblue, persistent:false
+workspace = name:spncmp, persistent:false
+workspace = name:spmutt, persistent:false
+workspace = name:spprof, persistent:false
+workspace = name:spirss, persistent:false
+workspace = name:spvimw, persistent:false
+workspace = name:sptrmc, persistent:false
+workspace = name:helvum, persistent:false
+workspace = name:easyeffects, persistent:false
bind = $mainMod CONTROL, Z, exec, hyprscratch toggle sphtop
bind = $mainMod CONTROL, X, exec, hyprscratch toggle spterm
bind = $mainMod CONTROL, C, exec, hyprscratch toggle sppmxr