Guest User

Untitled

a guest
Jun 12th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- Hooks --
  2. myManageHook = composeAll
  3.     [
  4.         className=? "Pidgin"                    --> doShift "0_im"
  5.       , className=? "Uzbl-core"                 --> doShift "1_web"
  6.       , className=? "Navigator"                 --> doShift "0_web"
  7.       , className=? "Firefox"                   --> doShift "0_web"
  8.       , className=? "Emacs"                     --> doShift "0_emacs"
  9.       , className=? "Xmessage"                  --> doFloat
  10.       , className=? "Synapse"                   --> doIgnore
  11.       , isDialog                                --> placeHook simpleSmart <+> doFloat
  12.     ]
  13.       -- <+> positionStoreManageHook
  14.       <+> manageDocks
  15.  
  16.  
  17. myLayoutHook = avoidStruts $
  18.                onWorkspace "0_im" (reflectHoriz . withIM (1%10) (Role "buddy_list") $ Grid) $
  19.                onWorkspace "0_emacs" tiled $
  20.                smartBorders (Mirror tiled)
  21.                ||| tabs
  22.                ||| Grid
  23.                ||| smartBorders Full
  24.                ||| smartBorders tiled
  25.  
  26.     where
  27.       tiled = ResizableTall nmaster delta ratio []
  28.       -- The default number of windows in the master pane
  29.       nmaster = 1
  30.       -- Default proportion of screen occupied by master pane
  31.       ratio   = toRational (2/(1+sqrt(5)::Double)) -- golden
  32.       -- Percent of screen to increment by when resizing panes
  33.       delta   = 0.03
  34.       -- tabbed layout
  35.       tabs = tabbed shrinkText myTabTheme
  36.       -- magnification in grid
  37.       magnify = magnifier (13%10)
Add Comment
Please, Sign In to add comment