summaryrefslogtreecommitdiff
path: root/dotfiles/hyprland/.config/hypr/hyprland.conf
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
commitd048436af39b105e82093315570da1c73ef68142 (patch)
treec4eb2aed9ff309f661bf29f6542c014e613f889d /dotfiles/hyprland/.config/hypr/hyprland.conf
parent8c04dc2f5fee2c19489887433632347d3be74582 (diff)
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/hypr/hyprland.conf')
-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