Thursday, June 2, 2016

xmonad master area on the right

to have the master area on the right,

import XMonad.Layout.Reflect 

add in the xmonad hooks replacement section add

 , layoutHook = smartBorders (reflectHoriz $ layoutHook gnomeConfig)


as in 


main = do
    dbus <- D.connectSession
    getWellKnownName dbus
    xmonad $ gnomeConfig
         { logHook = dynamicLogWithPP (prettyPrinter dbus)
 , mouseBindings = myMouseBindings 
 , layoutHook = smartBorders (reflectHoriz $ layoutHook gnomeConfig)
 , normalBorderColor   =  "#808080"
         , focusedBorderColor =  "#00ecec"
         ,  modMask = mod4Mask -- set the mod key to the windows key
 , startupHook = setWMName "LG3D"
         } `additionalKeys` myKeys

sources:
http://xmonad.org/xmonad-docs/xmonad-contrib/XMonad-Layout-Reflect.html
https://donsbot.wordpress.com/2010/03/13/after-3-years-my-xmonad-configuration-now-uses-gnome/

No comments:

Post a Comment