switch to dzen
This commit is contained in:
parent
a42d55377c
commit
f78aa77ee9
1 changed files with 9 additions and 7 deletions
|
@ -150,7 +150,7 @@ myKeys conf@(XConfig {XMonad.modMask = modm}) = M.fromList $
|
||||||
, ((modm .|. shiftMask, xK_q ), spawn "/home/cgirard/shutdown.sh")
|
, ((modm .|. shiftMask, xK_q ), spawn "/home/cgirard/shutdown.sh")
|
||||||
|
|
||||||
-- Restart xmonad
|
-- Restart xmonad
|
||||||
, ((modm , xK_q ), spawn "xmonad --recompile; xmonad --restart")
|
, ((modm , xK_q ), spawn "killall conky dzen2 && xmonad --recompile; xmonad --restart")
|
||||||
|
|
||||||
-- GridSelected
|
-- GridSelected
|
||||||
, ((modm, xK_g ), goToSelected defaultGSConfig)
|
, ((modm, xK_g ), goToSelected defaultGSConfig)
|
||||||
|
@ -301,13 +301,14 @@ myEventHook = mempty
|
||||||
--
|
--
|
||||||
-- > logHook = dynamicLogDzen
|
-- > logHook = dynamicLogDzen
|
||||||
--
|
--
|
||||||
myLogHook pipe = dynamicLogWithPP xmobarPP
|
myLogHook pipe = dynamicLogWithPP dzenPP
|
||||||
{ ppOutput = hPutStrLn pipe
|
{ ppOutput = hPutStrLn pipe
|
||||||
, ppCurrent = xmobarColor "#AE6F38" "" . wrap "[" "]"
|
, ppCurrent = dzenColor "#AE6F38" "" . wrap "[" "]"
|
||||||
, ppTitle = xmobarColor "#6B8836" "" . shorten 60
|
, ppTitle = dzenColor "#6B8836" "" . shorten 90
|
||||||
}
|
}
|
||||||
>> ewmhDesktopsLogHook
|
>> ewmhDesktopsLogHook
|
||||||
>> setWMName "LG3D"
|
|
||||||
|
dzenConky = "conky -c ~/.xmonad/conkyrc | /usr/bin/dzen2 -x 650 -w 629 -fn '-misc-fixed-*-*-*-*-10-*-*-*-*-*-*-*' -ta r"
|
||||||
|
|
||||||
------------------------------------------------------------------------
|
------------------------------------------------------------------------
|
||||||
-- Prompts
|
-- Prompts
|
||||||
|
@ -338,7 +339,8 @@ myStartupHook = return ()
|
||||||
-- Run xmonad with the settings you specify. No need to modify this.
|
-- Run xmonad with the settings you specify. No need to modify this.
|
||||||
--
|
--
|
||||||
main = do
|
main = do
|
||||||
xmproc <- spawnPipe "/usr/bin/xmobar /home/cgirard/.xmobarrc"
|
dzproc <- spawnPipe "/usr/bin/dzen2 -w 650 -fn '-misc-fixed-*-*-*-*-10-*-*-*-*-*-*-*' -ta l"
|
||||||
|
spawn dzenConky
|
||||||
xmonad $ defaultConfig {
|
xmonad $ defaultConfig {
|
||||||
-- simple stuff
|
-- simple stuff
|
||||||
terminal = myTerminal,
|
terminal = myTerminal,
|
||||||
|
@ -357,6 +359,6 @@ main = do
|
||||||
layoutHook = myLayout,
|
layoutHook = myLayout,
|
||||||
manageHook = myManageHook,
|
manageHook = myManageHook,
|
||||||
handleEventHook = myEventHook,
|
handleEventHook = myEventHook,
|
||||||
logHook = myLogHook xmproc,
|
logHook = myLogHook dzproc,
|
||||||
startupHook = myStartupHook
|
startupHook = myStartupHook
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue