From 12963e54d5c0f7a4b3ff5b23cb11d487aaa84dba Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Thu, 4 May 2023 22:17:32 -0400 Subject: [PATCH] hyprland: Fix focus on swapmaster This fixes an issue where swapmaster wouldn't focus master when swapping after changing between a non-empty workspace. --- hyprland/.config/hypr/swapmaster.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/hyprland/.config/hypr/swapmaster.sh b/hyprland/.config/hypr/swapmaster.sh index 13da57fe..e3b18853 100755 --- a/hyprland/.config/hypr/swapmaster.sh +++ b/hyprland/.config/hypr/swapmaster.sh @@ -51,6 +51,7 @@ else # If there are more windows, swap if [[ $numWindowsOnWorkspace -gt 1 ]]; then hyprctl dispatch layoutmsg swapwithmaster + hyprctl dispatch layoutmsg focusmaster master fi fi