summaryrefslogtreecommitdiff
path: root/dotfiles/hyprland/.config/hypr
diff options
context:
space:
mode:
Diffstat (limited to 'dotfiles/hyprland/.config/hypr')
-rw-r--r--dotfiles/hyprland/.config/hypr/hyprland.conf8
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