summaryrefslogtreecommitdiffstats
path: root/xmonad
diff options
context:
space:
mode:
authorStefan Ritter <xeno@thehappy.de>2009-10-23 02:31:03 +0200
committerStefan Ritter <xeno@thehappy.de>2009-10-23 02:31:03 +0200
commit102fe8791b87553c6423437ccd627e75d10371fb (patch)
treed74abd8df63f4d35c457eafc77d587e83ef2fb84 /xmonad
parent6837c45c08d879abaa0963e817c34cf8a6098dc7 (diff)
Added pbuilderrc and several other changes
Diffstat (limited to 'xmonad')
-rw-r--r--xmonad/xmonad-0.8.hs8
1 files changed, 6 insertions, 2 deletions
diff --git a/xmonad/xmonad-0.8.hs b/xmonad/xmonad-0.8.hs
index ec3a3bd..a9304ac 100644
--- a/xmonad/xmonad-0.8.hs
+++ b/xmonad/xmonad-0.8.hs
@@ -1,6 +1,7 @@
import XMonad
import XMonad.Hooks.DynamicLog
import XMonad.Hooks.ManageDocks
+import XMonad.Hooks.UrgencyHook
import XMonad.Util.Run (spawnPipe)
import XMonad.Actions.CycleWS
import System.Exit
@@ -51,7 +52,7 @@ myConfig = defaultConfig
main = do
xmproc <- spawnPipe "xmobar"
-xmonad $ defaultConfig {
+xmonad $ withUrgencyHook NoUrgencyHook defaultConfig {
manageHook = manageDocks <+> manageHook defaultConfig,
layoutHook = avoidStruts $ layoutHook defaultConfig,
terminal = "x-terminal-emulator",
@@ -64,6 +65,9 @@ xmonad $ defaultConfig {
focusedBorderColor = "#ff0000",
keys = myKeys,
mouseBindings = myMouseBindings,
- logHook = dynamicLogWithPP $ xmobarPP { ppOutput = hPutStrLn xmproc , ppTitle = xmobarColor "green" "" . shorten 50 },
+ logHook = dynamicLogWithPP $ xmobarPP {
+ ppOutput = hPutStrLn xmproc ,
+ ppTitle = xmobarColor "green" "" . shorten 50 ,
+ ppUrgent = xmobarColor "yellow" "red" . shorten 50 },
startupHook = return()
}