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 | 7722989f100f72dff647ef6dac2149bb8dc3bb9c (patch) | |
| tree | 0d4e443f03ecd775384f106635b3a8d25acdde7f /dotfiles | |
| parent | b1fdbcb04f63dcb21669226cc0fb60bd01e63d13 (diff) | |
| download | archsetup-7722989f100f72dff647ef6dac2149bb8dc3bb9c.tar.gz archsetup-7722989f100f72dff647ef6dac2149bb8dc3bb9c.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.
Diffstat (limited to 'dotfiles')
| -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 |
