wurde in einem anderen Topic mit xmonad angefixt
Habe nun eine kleine frage: weiss jemand wie man die verschiedenen Anordnungsalgorithmen auf verschiedene Mod-Tastenkombinationen binded? Momentan kann ich nur mit Mod-Space durchcyceln. Ich würde gerne Mod-V für Tall und Mod-H für die horizontale Anordnung verwenden. Oder ist es möglich "zurückzucyceln"?
meine ~/.xmonad/xmonad.hs, kopiert aus einem tutorial. habe lediglich nochmals einen fullmode hinzugefügt, so dass ich mit mod-space immer zu diesem komme. wie gesagt, ich habe keine ahnung von haskell
Code: Alles auswählen
import XMonad hiding (Tall)
import XMonad.Hooks.ManageDocks
import XMonad.Hooks.SetWMName
import XMonad.Layout.ThreeColumns
import XMonad.Layout.HintedTile
import XMonad.Layout.NoBorders
myLayout = avoidStruts $
smartBorders $
hintedTile Tall |||
noBorders Full |||
hintedTile Wide |||
noBorders Full -- |||
-- threeCol
-- hintedTile listens to application hints, so as not to break gVim.
where
hintedTile = HintedTile nmaster delta ratio TopLeft
threeCol = ThreeCol nmaster delta ratio
nmaster = 1
delta = 3/100
ratio = 1/2
myManageHook = composeAll
[ className =? "Gimp" --> doFloat ]
main = do
xmonad $ defaultConfig
{
-- Left WIN Key as modifying
-- rather than Left ALT
modMask = mod1Mask
, manageHook = manageDocks <+> myManageHook <+> manageHook defaultConfig
-- I used to use: avoidStruts $ layoutHook defaultConfig
, layoutHook = myLayout
-- This hack is necessary to make Java GUIs like NetBeans work. See the FAQ.
, logHook = setWMName "LG3D"
}
/e