mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-05-19 15:50:44 +02: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 there are more windows, swap
|
||||||
if [[ $numWindowsOnWorkspace -gt 1 ]]; then
|
if [[ $numWindowsOnWorkspace -gt 1 ]]; then
|
||||||
hyprctl dispatch layoutmsg swapwithmaster
|
hyprctl dispatch layoutmsg swapwithmaster
|
||||||
|
hyprctl dispatch layoutmsg focusmaster master
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user