[solved] XMonad translate workspace switching to emacs-style keybind syntax
additionalKeysP from EZConfig, is really nice for cleaning up and sweetening xmonad.hs. also expands keybind paradigms, opening up way more possibilities.
however, i am stuck without move and switch to workspace. i tried figuring this out from reading about XMonad.Util.EZConfig, but i'm not quite getting it. as lifted from default example xmonad.hs i found on my other computer: Code:
++ anyone know how to get me a "M-[1-9]" sort of switching keybind setup? |
-- (2012-09-29 15:14:37) dr_bs:
zip (map (\x -> fst x++[snd x]) ((zip (repeat "M-") (['1'..'9'])))) (map (withNthWorkspace W.greedyView) [0..]) -- and extrapolated to also have move window to workspace in emacs keybind format: zip (map (\x -> fst x++[snd x]) ((zip (repeat "M-S-") (['1'..'9'])))) (map (withNthWorkspace W.shift) [0..]) |
All times are GMT -5. The time now is 07:40 AM. |