More dzen stuff from xmonad

master
Dustin Swan 12 years ago
parent 8115dcac7a
commit d0bb374e72

@ -13,10 +13,11 @@ import qualified System.IO
import XMonad.Util.EZConfig (additionalKeysP) import XMonad.Util.EZConfig (additionalKeysP)
import XMonad.Util.Loggers import XMonad.Util.Loggers
lightBlue = "#aabbff" lightBlue = "#66aaff"
darkBlue = "#0000cc" darkBlue = "#0000cc"
lightGray = "#aaaaaa" lightGray = "#aaaaaa"
darkGray = "#444444" darkGray = "#444444"
dzenForeground = "#ffffff"
dzenBackground = "#000000" dzenBackground = "#000000"
myModMask = mod4Mask -- command myModMask = mod4Mask -- command
@ -25,8 +26,8 @@ myManageHook = composeAll
, resource =? "feh" --> doFloat , resource =? "feh" --> doFloat
] ]
--myWorkspaces = [ "1" , "2" , "3" , "4" , "5", "6", "7", "8", "9" ] myWorkspaces = [ "1" , "2" , "3" , "4" , "5", "6", "7", "8", "9" ]
myWorkspaces = [ "α" , "β" , "γ" , "δ" , "ε", "ζ", "η", "θ", "ι" ] --myWorkspaces = [ "α" , "β" , "γ" , "δ" , "ε", "ζ", "η", "θ", "ι" ]
myNormalBorderColor = "#333333" myNormalBorderColor = "#333333"
myFocusedBorderColor = darkBlue myFocusedBorderColor = darkBlue
@ -37,14 +38,15 @@ myFocusFollowsMouse = False
myStatusBar = "conky -c /home/dustinswan/.conky | dzen2 -x '640' -w '640' -ta 'r' -y '0' -bg '#000000'" myStatusBar = "conky -c /home/dustinswan/.conky | dzen2 -x '640' -w '640' -ta 'r' -y '0' -bg '#000000'"
myLogHook h = dynamicLogWithPP $ defaultPP myLogHook h = dynamicLogWithPP $ defaultPP
{ ppCurrent = ("·" ++) { -- ppCurrent = (">" ++)
ppCurrent = dzenColor lightBlue dzenBackground . wrap "" " "
, ppVisible = ("." ++) , ppVisible = ("." ++)
, ppHidden = dzenColor lightGray dzenBackground . (" " ++) , ppHidden = dzenColor lightGray dzenBackground . wrap "" " "
, ppHiddenNoWindows = dzenColor darkGray dzenBackground . (" " ++) , ppHiddenNoWindows = dzenColor darkGray dzenBackground . wrap "" " "
, ppLayout = (\_ -> "") -- TODO I suck at haskell , ppLayout = (\_ -> "") -- TODO I suck at haskell
, ppOutput = System.IO.hPutStrLn h , ppOutput = System.IO.hPutStrLn h
, ppTitle = shorten 20 , ppTitle = shorten 20
, ppSep = " | " , ppSep = ""
, ppWsSep = "" , ppWsSep = ""
--, ppExtras = [ date "%a %d %b" ] --, ppExtras = [ date "%a %d %b" ]
} }
@ -65,7 +67,7 @@ main = do
, logHook = myLogHook dzenLeftBar , logHook = myLogHook dzenLeftBar
} }
`additionalKeysP` `additionalKeysP`
[ ("M-p", spawn "dmenu_run -fn 'Monospace:pixelsize=11:antialias=false'") [ ("M-p", spawn "dmenu_run -fn 'Tamsynmod:Regular:pixelsize=14'")
, ("M-S-p", spawn "scrot") , ("M-S-p", spawn "scrot")
, ("<XF86AudioRaiseVolume>", spawn "amixer sset Master 3%+") , ("<XF86AudioRaiseVolume>", spawn "amixer sset Master 3%+")
, ("<XF86AudioLowerVolume>", spawn "amixer sset Master 3%-") , ("<XF86AudioLowerVolume>", spawn "amixer sset Master 3%-")

Loading…
Cancel
Save