From: Simon Ruderich Date: Tue, 2 Jun 2009 01:42:30 +0000 (+0200) Subject: xmonad: Add configuration file. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=7581f733804cc654ee077a21b5d18a8fd2212685;p=config%2Fdotfiles.git xmonad: Add configuration file. xmonad is a tiling window manager. Also update setup.sh and .gitignore to work with this change. The default manager is still stumpwm. --- diff --git a/.gitignore b/.gitignore index 760f605..1504063 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,7 @@ # Generated with m4 or awk. Xdefaults +# Generated by Xmonad. +xmonad.errors +xmonad.hi +xmonad.o +xmonad-* diff --git a/setup.sh b/setup.sh index 7ace8e0..1feb7ad 100755 --- a/setup.sh +++ b/setup.sh @@ -8,6 +8,9 @@ if installed stumpwm; then link stumpwmrc ~/.stumpwmrc fi +if installed xmonad; then + link . ~/.xmonad +fi if installed X; then # Use settings for XTerm also for UXTerm. This prevents code duplication. diff --git a/xmonad.hs b/xmonad.hs new file mode 100644 index 0000000..c71d10d --- /dev/null +++ b/xmonad.hs @@ -0,0 +1,13 @@ +-- Xmonad configuration file. + + +import XMonad + +main = xmonad $ defaultConfig + -- Use Windows key as main key so it doesn't conflict with any other key + -- bindings. + { modMask = mod4Mask + -- Inactive borders are black - invisible on my black screen. + , normalBorderColor = "#000000" + -- Active border is dark red. + , focusedBorderColor = "#990000" }