From 7581f733804cc654ee077a21b5d18a8fd2212685 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Tue, 2 Jun 2009 03:42:30 +0200 Subject: [PATCH] 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. --- .gitignore | 5 +++++ setup.sh | 3 +++ xmonad.hs | 13 +++++++++++++ 3 files changed, 21 insertions(+) create mode 100644 xmonad.hs 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" } -- 2.45.2