
18 Sep
2011
18 Sep
'11
1:14 p.m.
Quoting Toby Cubitt
I have keybindings along the lines of
[ ((modMask .|. mod1Mask, k), windows (W.shift i)) | (i, k) <- zip myWorkspaces [xK_F1 .. xK_F12] ]
for calling "windows (W.shift i)" to move the current window to a given workspace using Mod+Fn.
The problem is, this usually moves the window to the master slot on the target workspace. Whereas I almost invariably want it moved to a slave slot.
Try this: [ ((modMask .|. mod1Mask, k), windows (onWorkspace i swapDown . W.shift i)) | (i, k) <- zip myWorkspaces [xK_F1 .. xK_F12] ] ~d