summaryrefslogtreecommitdiff
path: root/dotfiles/hyprland/.local/bin/focus-restore
diff options
context:
space:
mode:
Diffstat (limited to 'dotfiles/hyprland/.local/bin/focus-restore')
-rwxr-xr-xdotfiles/hyprland/.local/bin/focus-restore9
1 files changed, 0 insertions, 9 deletions
diff --git a/dotfiles/hyprland/.local/bin/focus-restore b/dotfiles/hyprland/.local/bin/focus-restore
deleted file mode 100755
index 7f87390..0000000
--- a/dotfiles/hyprland/.local/bin/focus-restore
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/sh
-# Restore unfocused windows from workspace 10 without disrupting master position.
-# Records the focused window, brings all back, then swaps it back to master.
-
-FOCUSED=$(hyprctl activewindow -j | jq -r '.address')
-hyprctl dispatch plugin:xtd:bringallfrom 10
-sleep 0.1
-hyprctl dispatch focuswindow "address:$FOCUSED"
-hyprctl dispatch layoutmsg swapwithmaster master