aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/hyprland/.config
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-02-09 09:35:00 -0600
committerCraig Jennings <c@cjennings.net>2026-02-09 09:35:00 -0600
commitcf274c918ad3cc3365cba2f0cc9079022623b59f (patch)
tree1d0b2fef6e4309dba52481207cf8472376b42a66 /dotfiles/hyprland/.config
parent88f581979b0e3e9ae43b7abc7cb5f9121aa384d8 (diff)
downloadarchsetup-cf274c918ad3cc3365cba2f0cc9079022623b59f.tar.gz
archsetup-cf274c918ad3cc3365cba2f0cc9079022623b59f.zip
feat(hyprland): add scratchpad refocus on window close
IPC listener detects closewindow events and refocuses the visible scratchpad (special workspace) instead of falling to a regular window.
Diffstat (limited to 'dotfiles/hyprland/.config')
-rw-r--r--dotfiles/hyprland/.config/hypr/hyprland.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/dotfiles/hyprland/.config/hypr/hyprland.conf b/dotfiles/hyprland/.config/hypr/hyprland.conf
index 55a7c35..f258353 100644
--- a/dotfiles/hyprland/.config/hypr/hyprland.conf
+++ b/dotfiles/hyprland/.config/hypr/hyprland.conf
@@ -33,6 +33,7 @@ exec-once = mpd
# Pyprland (scratchpads, magnify, etc.)
exec-once = pypr
+exec-once = hypr-refocus-scratchpad
# Apps that can start later (sleep ensures waybar tray is registered)
exec-once = sleep 1 && signal-desktop --start-in-tray --ozone-platform=wayland