
mod-當前返回掉期對焦視窗與主視窗。我想要的是將焦點窗口移至主窗口,並將其餘窗口移至一處。所以最後的結果就像我按了 mod-shift-k 幾次一樣。
答案1
Xmonad.StackSet.shiftMaster
正是這樣做的。
只需將如下行新增至您的按鍵配置:
, ((modMask, xK_Return), windows W.shiftMaster)
或者,如果您使用additionalKeysP
from XMonad.Util.EZConfig
,
, ("M-<Return>", windows W.shiftMaster)