Last active
December 16, 2015 16:42
-
-
Save schicks/e8b95d7f8cb323eeac8b to your computer and use it in GitHub Desktop.
config for xmonad on fedora 22.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- | |
-- Configuration file for XMonad + MATE | |
-- | |
-- Usage: | |
-- * Copy this file to ~/.xmonad/ | |
-- * Run: $ xmonad --recompile | |
-- * Launch: $ xmonad --replace | |
-- [Optional] Create an autostart to command with "xmonad --replace" | |
-- | |
-- Author: Arturo Fernandez <arturo at bsnux dot com> | |
-- Inspired by: | |
-- Spencer Janssen <spencerjanssen@gmail.com> | |
-- rfc <reuben.fletchercostin@gmail.com> | |
-- License: BSD | |
-- | |
import XMonad | |
import Data.Monoid | |
import System.Exit | |
import XMonad.Hooks.DynamicLog | |
import XMonad.Config.Desktop | |
import XMonad.Hooks.SetWMName | |
import System.IO | |
import XMonad.Util.Run(spawnPipe) | |
import XMonad.Util.Run (safeSpawn) | |
import qualified Data.Map as M | |
import System.Environment (getEnvironment) | |
import XMonad.Util.EZConfig | |
import XMonad.Util.Cursor | |
myFocus :: Bool | |
myFocus = False | |
myClick :: Bool | |
myClick = False | |
main = do | |
xmonad $ desktopConfig | |
{ modMask = mod4Mask | |
, borderWidth = 2 | |
, focusFollowsMouse = myFocus | |
, clickJustFocuses = myClick | |
, startupHook = setWMName "LG3D" | |
} `additionalKeysP` myKeys | |
myKeys = [(("M4-z"), kill)] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment