]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
xmonad: Add configuration file.
authorSimon Ruderich <simon@ruderich.org>
Tue, 2 Jun 2009 01:42:30 +0000 (03:42 +0200)
committerSimon Ruderich <simon@ruderich.org>
Tue, 2 Jun 2009 01:42:30 +0000 (03:42 +0200)
xmonad is a tiling window manager.

Also update setup.sh and .gitignore to work with this change. The default
manager is still stumpwm.

.gitignore
setup.sh
xmonad.hs [new file with mode: 0644]

index 760f6051b19aecfec1984840958401ffbd5dbb61..1504063dde660600e43feac0386aaed7587e040d 100644 (file)
@@ -1,2 +1,7 @@
 # Generated with m4 or awk.
 Xdefaults
+# Generated by Xmonad.
+xmonad.errors
+xmonad.hi
+xmonad.o
+xmonad-*
index 7ace8e0d20ab164b95be773f1bf567566454d90a..1feb7ad68dad1fe19aa7a8dfe408f5e125396ac4 100755 (executable)
--- 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 (file)
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" }