HAPPY 30TH BDAY GNU! I LUB YOUUUUUU!
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menuimport XMonad
import XMonad.Hooks.DynamicLog
import XMonad.Hooks.ManageDocks
import XMonad.Util.Run(spawnPipe)
import XMonad.Util.EZConfig(additionalKeys)
import System.IO
import XMonad.Actions.SpawnOn
myManageHook = composeAll
[ className =? "Gimp" --> doFloat
, className =? "Vncviewer" --> doFloat
]
main = do
xmproc <- spawnPipe "/usr/bin/xmobar ~/xmobarrc"
xmonad $ defaultConfig
{ manageHook = manageDocks <+> myManageHook -- make sure to include myManageHook definition from above
<+> manageHook defaultConfig
, layoutHook = avoidStruts $ layoutHook defaultConfig
, logHook = dynamicLogWithPP xmobarPP
{ ppOutput = hPutStrLn xmproc
, ppTitle = xmobarColor "#868686" "" . shorten 50
}
, modMask = mod4Mask -- Rebind Mod to the Windows key
} `additionalKeys`
[ ((mod4Mask .|. shiftMask, xK_z), spawn "xscreensaver-command -lock")
, ((controlMask, xK_Print), spawn "")
, ((0, xK_Print), spawn "")
, ((mod4Mask, xK_i), spawn "iceweasel")
, ((mod4Mask .|. shiftMask, xK_Return), spawn "terminator")
, ((mod4Mask, xK_w), spawn "xterm -exec weechat")
, ((mod4Mask, xK_e), spawn "emacs")
, ((mod4Mask, xK_x), spawn "xchat")
, ((mod4Mask, xK_c), kill)
, ((mod4Mask, xK_g), spawn "geany")
, ((mod4Mask, xK_v), spawn "vlc")
, ((mod4Mask, xK_0), spawn "scrot")
, ((mod4Mask, xK_f), spawn "thunar")
]
Config { font = "xft:inconsolata-9:medium"
, bgColor = "#000000"
, fgColor = "#93ADBC"
, position = TopW R 100
, lowerOnStart = True
, commands = [ Run Weather "KMWA" ["-t"," <station>: <tempF>F","-L","60","-H","85","--normal","green","--high","red","--low","lightblue"] 36000
, Run Cpu ["-L","3","-H","80","--normal","green","--high","red"] 10
, Run Memory ["-t","Mem: <usedratio>%"] 10
, Run Swap [] 10
, Run Network "wlan0" ["-L","0","-H","300","--normal","green","--high","red"] 10
, Run Date "%a %b %_d | %l:%M %p" "date" 10
, Run Com "~/.xmonad/get-volume" [] "Sound" 10
, Run StdinReader
]
, sepChar = "%"
, alignSep = "}{"
, template = "<fc=#695DFF>%StdinReader%</fc> }{ <fc=#00FF22>%cpu%</fc> | <fc=#6200C4>%memory%</fc> | <fc=#F2FF00>%wlan0%</fc> | <fc=#FFFFFF>%KMWA%</fc> | <fc=#FFFFFF>%date%</fc>"
}
Quote from: dizzie on September 13, 2013, 11:20:53 PM
cheers!
And if you ask nicely, i'll share my configs for .Xdefaults vim weechat(with plugins) and i3(with conky)
Latest scrot to show off :
Quote from: dizzie on September 13, 2013, 11:39:20 AM