aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/hyprland/.local/bin/focus-restore
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-03-07 14:03:02 -0600
committerCraig Jennings <c@cjennings.net>2026-03-07 14:03:02 -0600
commitc6ba9f7ae6d6868ad09d8674890161fcf90092e0 (patch)
tree0fb64b0a88969cc0767e3c7be7143e6a8a363200 /dotfiles/hyprland/.local/bin/focus-restore
parent2c2670a2b62295990e115420cc3e4ddcb3d0042c (diff)
downloadarchsetup-c6ba9f7ae6d6868ad09d8674890161fcf90092e0.tar.gz
archsetup-c6ba9f7ae6d6868ad09d8674890161fcf90092e0.zip
feat(hyprland): remove plugins, add layout cycling
Hyprland 0.54 brings scrolling and monocle layouts into core, making hyprpm plugins unnecessary. Remove hyprland-plugins-setup, focus-restore, hyprpm pacman hook, and allfloat keybinding. Add layout-cycle script and $mod+Shift+Arrow keybindings to cycle master/scrolling/monocle. Move cpio to System Utilities section.
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