hyprland: Fix focus on swapmaster

This fixes an issue where swapmaster wouldn't focus master when swapping
after changing between a non-empty workspace.
This commit is contained in:
Donovan Glover 2023-05-04 22:17:32 -04:00
parent 41b803ec19
commit 12963e54d5
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -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