diff options
| author | Craig Jennings <c@cjennings.net> | 2026-02-25 17:25:03 -0600 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-02-25 17:25:03 -0600 |
| commit | b90f9f8703fb7ce3b89b23af56480d21b75904d6 (patch) | |
| tree | ba2706c5f15ae2208e69befea0b86e6d1bce799f | |
| parent | 5346101be9e71e676107c622fa5561d0826b3c26 (diff) | |
| download | archsetup-b90f9f8703fb7ce3b89b23af56480d21b75904d6.tar.gz archsetup-b90f9f8703fb7ce3b89b23af56480d21b75904d6.zip | |
fix(hyprland): re-center scratchpad windows on togglefloating
Scratchpad windows stayed at their tiled position when returned to
floating via shift+mod+space. Add center windowrules so all pyprland
scratchpads snap back to center whenever they become floating.
| -rw-r--r-- | dotfiles/hyprland/.config/hypr/hyprland.conf | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/dotfiles/hyprland/.config/hypr/hyprland.conf b/dotfiles/hyprland/.config/hypr/hyprland.conf index e03e18e..f31e110 100644 --- a/dotfiles/hyprland/.config/hypr/hyprland.conf +++ b/dotfiles/hyprland/.config/hypr/hyprland.conf @@ -153,6 +153,14 @@ windowrule = match:class ^(Blueman-manager)$, float on windowrule = match:class ^(qalculate-gtk)$, float on windowrule = match:title ^(Event Tester)$, float on +# Re-center scratchpad windows when returned to floating via togglefloating +windowrule = match:class ^(foot-term)$ floating:1, center on +windowrule = match:class ^(foot-ai-term)$ floating:1, center on +windowrule = match:class ^(foot-audio)$ floating:1, center on +windowrule = match:class ^(foot-monitor)$ floating:1, center on +windowrule = match:class ^(foot-music)$ floating:1, center on +windowrule = match:class ^(foot-network)$ floating:1, center on + # Gaming windowrule = match:class ^(Civ5XP)$, fullscreen on |
