mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-15 04:44:03 +01:00
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:
parent
41b803ec19
commit
12963e54d5
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user