From 137acab5c4d500b3c27fd85da71f7dcb98442f96 Mon Sep 17 00:00:00 2001 From: Dustin Swan Date: Sun, 14 Apr 2013 10:29:35 -0500 Subject: [PATCH] Fullscreen float for xmonad and adding mail to conky --- conky | 16 +++++++++++++++- xmonad.hs | 2 ++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/conky b/conky index db2dbb8..84ca117 100644 --- a/conky +++ b/conky @@ -48,6 +48,20 @@ ${endif}\ ${endif}\ Ñ ^fg(white)${cpu}% \ # -# Memory +# Memory TODO COLORS! ^fg(\#66aaff)Î ^fg(white)${memperc}% \ +# +# Mail dustinswan@gmail.com +${if_match ${new_mails /home/dustinswan/.mail/DustinswanGmail/INBOX} == 0}^fg(\#66aaff)\ +${else}^fg(\#ff0000)\ +${endif}\ +Ë ^fg(white)${new_mails /home/dustinswan/.mail/DustinswanGmail/INBOX} \ +# +# Mail dswan@iocom.com +${if_match ${new_mails /home/dustinswan/.mail/DswanIOCOM/INBOX} == 0}^fg(\#66aaff)\ +${else}^fg(\#ff0000)\ +${endif}\ +Ë ^fg(white)${new_mails /home/dustinswan/.mail/DswanIOCOM/INBOX} \ +# +# Clock ^fg(\#66aaff)É ^fg(white)${time %d %b %R} \ diff --git a/xmonad.hs b/xmonad.hs index 436f8b4..1689b73 100644 --- a/xmonad.hs +++ b/xmonad.hs @@ -6,6 +6,7 @@ import qualified Data.Map as M import XMonad.Hooks.DynamicLog import XMonad.Hooks.ManageDocks +import XMonad.Hooks.ManageHelpers (doFullFloat, isFullscreen) import XMonad.Util.Run (spawnPipe) -- for spawnPipe and hPutStrLn import qualified System.IO @@ -24,6 +25,7 @@ myModMask = mod4Mask -- command myManageHook = composeAll [ resource =? "visimeet" --> doFloat , resource =? "feh" --> doFloat + , isFullscreen --> doFullFloat ] --myWorkspaces = [ "!" , "@" , "#" , "$" , "%", "^^", "&", "*", "(" ]