gnomesome
gnomesome copied to clipboard
Swap current window with master keeps only one master window when there were multiple masters before.
Swap current window with master keeps only one master window when there were multiple masters before.
- Create a bunch of windows e.g. : with Mod4+return
- Switch to vertical/horizontal box layout.
- Increase the number of master windows
- Swap non master window with master ==> only one master window is kept.
let's say there is window a, b, and c in the master. Which location should be the natural choice for swapping a non master window d with?
It is fine for me if it swaps with the first master (It might be nice to be able to swap it with a specific master).
Suppose you have this layout with 2 master windows and you are in window 3 and swap the current window with master:
############## ##############
# # # #
# # # window 3 #
# # # #
# master 1 # ##############
# # # #
# # # window 4 #
# # # #
############## ##############
# # # #
# # # window 5 #
# # # #
# master 2 # ##############
# # # #
# # # window 6 #
# # # #
############## ##############
You get this layout:
############## ##############
# # # window 2 #
# # # (old m1) #
# # ##############
# # # window 3 #
# # # (old m2) #
# # ##############
# master 1 # # window 4 #
# (old w3) # # (old w4) #
# # ##############
# # # window 5 #
# # # (old w5) #
# # ##############
# # # window 6 #
# # # (old w6) #
############## ##############
Instead of this one:
############## ##############
# # # #
# # # window 3 #
# # # (old m1) #
# master 1 # ##############
# (old w3) # # #
# # # window 4 #
# # # #
############## ##############
# # # #
# # # window 5 #
# # # #
# master 2 # ##############
# # # #
# # # window 6 #
# # # #
############## ##############