aboutsummaryrefslogtreecommitdiff
path: root/xmonad.hs
diff options
context:
space:
mode:
authorCharles <sircharlesaze@gmail.com>2020-05-23 11:49:58 +0200
committerCharles <sircharlesaze@gmail.com>2020-05-23 11:49:58 +0200
commit718e7ea6e19717c67060648b366dcbbc837535e3 (patch)
tree22201337528eeb2180834644db06241bd0f1921d /xmonad.hs
parente9530ee0b4e9706fb0fcb82fa3cb87d57a5b540d (diff)
downloaddotfiles-718e7ea6e19717c67060648b366dcbbc837535e3.tar.gz
dotfiles-718e7ea6e19717c67060648b366dcbbc837535e3.tar.bz2
dotfiles-718e7ea6e19717c67060648b366dcbbc837535e3.zip
vim change mapping, sublime text config, some alias
Diffstat (limited to 'xmonad.hs')
-rw-r--r--xmonad.hs18
1 files changed, 9 insertions, 9 deletions
diff --git a/xmonad.hs b/xmonad.hs
index 5420664..72bda69 100644
--- a/xmonad.hs
+++ b/xmonad.hs
@@ -11,18 +11,18 @@ import XMonad.Layout.NoBorders
-- Hooks
import XMonad.Hooks.InsertPosition
-
-main = do
- xmonad $ desktopConfig
- { modMask = mod4Mask -- mod key to super
- , terminal = "st"
- , borderWidth = 1
- , focusFollowsMouse = False -- don't change window based on mouse position (need to click)
- , normalBorderColor = "#292d3e"
+-- xmonad :: XConfig -> IO ()
+-- https://hackage.haskell.org/package/xmonad-0.15/docs/XMonad-Core.html#t:XConfig
+main = xmonad $ desktopConfig
+ { normalBorderColor = "#292d3e"
, focusedBorderColor = "#bbc5ff"
+ , terminal = "st"
, layoutHook = myLayouts
- , startupHook = myStartupHook
, manageHook = myManageHook
+ , modMask = mod4Mask -- mod key to super
+ , borderWidth = 1
+ , startupHook = myStartupHook
+ , focusFollowsMouse = False -- don't change window based on mouse position (need to click)
} `additionalKeysP` myKeys
myLayouts = tiledBigMaster -- bigger master for code and smaller slave for compiling