diff options
| author | Ahmed Abdelhalim <[email protected]> | 2026-02-08 23:25:11 +0100 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2026-02-08 23:25:11 +0100 |
| commit | dc8f42e5666e9d498bd19b323f5e1c3b9440ba3f (patch) | |
| tree | 550abf4f7f21d8cb5c4b289ed6a0765215d5aeee /roles/hyprland/templates/rules.conf.j2 | |
| parent | c6d550560eabce057affdb91d9d1d8fe16bcc1cb (diff) | |
Move template files
Diffstat (limited to 'roles/hyprland/templates/rules.conf.j2')
| -rw-r--r-- | roles/hyprland/templates/rules.conf.j2 | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/roles/hyprland/templates/rules.conf.j2 b/roles/hyprland/templates/rules.conf.j2 new file mode 100644 index 00000000..2a7d41ac --- /dev/null +++ b/roles/hyprland/templates/rules.conf.j2 @@ -0,0 +1,31 @@ +# vim: set filetype=hyprlang.ansible : + +# Scroll nicely in the terminal +windowrule = scroll_touchpad 1.5, match:class (Alacritty|kitty) +windowrule = scroll_touchpad 0.2, match:class com.mitchellh.ghostty + +# Floating windows +windowrule = float on, match:tag floating-window +windowrule = center on, match:tag floating-window +windowrule = size 875 600, match:tag floating-window +windowrule = stay_focused on, match:tag floating-window + +windowrule = tag +floating-window, match:class work.kartoffln.(bluetui|btop|wiremix|wlctl|clipse) +windowrule = float on, match:class org.gnome.Calculator + +# Picture-in-picture overlays +windowrule = tag +pic-in-pic, match:title (Picture.?in.?[Pp]icture) +windowrule = float on, match:tag pic-in-pic +windowrule = pin on, match:tag pic-in-pic +windowrule = size 600 338, match:tag pic-in-pic +windowrule = opacity 1.0 override 1.0 override, match:tag pic-in-pic +windowrule = move (monitor_w-window_w-40) (monitor_h*0.04), match:tag pic-in-pic + +# Browser types +windowrule = tag +chromium-based-browser, match:class ((google-)?[cC]hrom(e|ium)|[bB]rave-browser|[mM]icrosoft-edge|Vivaldi-stable|helium) +windowrule = tag +firefox-based-browser, match:class ([fF]irefox|zen|librewolf) +windowrule = opacity 1.0 override 0.97 override, match:tag chromium-based-browser +windowrule = opacity 1.0 override 0.97 override, match:tag firefox-based-browser + +# Pinentry windows +windowrule = match:class (pinentry-)(.*), stay_focused on |
