aboutsummaryrefslogtreecommitdiff
path: root/.config/XMonad/xmonad.hs
blob: 45e0c25ed18cbeffdb58cf4dedaec612f8858c74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
import XMonad

import XMonad.Layout.Fullscreen

import XMonad.Hooks.ManageDocks
import XMonad.Hooks.EwmhDesktops

import XMonad.Util.EZConfig

import Keybindings
import Defaults
import Hooks

main :: IO ()
main = do
  -- lemonBar <- spawnPipe myLemonbar
  xmonad $ ewmh $ docks $ fullscreenSupport def {
    focusFollowsMouse  = True
    , borderWidth        = myBorderWidth
    , modMask            = myModMask
    , workspaces         = myWorkspaces
    , normalBorderColor  = myBorder
    , focusedBorderColor = myBorder'
    , layoutHook         = myLayoutHook
    , startupHook        = myStartupHook
    , manageHook         = myManageHook
    -- , logHook            = dynamicLogWithPP myLemonbarPP { ppOutput = \x -> hPutStrLn lemonBar x}
  }
    `additionalKeys`  myKeybindings
    `additionalKeysP` myKeybindingsP
    `additionalMouseBindings` myMouseKeybindings