diff options
| -rw-r--r-- | xmobarrc | 30 | ||||
| -rw-r--r-- | xmonad.hs | 20 |
2 files changed, 40 insertions, 10 deletions
@@ -7,21 +7,45 @@ Config { font = "-*-Fixed-Bold-R-Normal-*-13-*-*-*-*-*-*-*" , fgColor = "grey" , alpha = 150 , position = TopW L 93 - , commands = [ Run Weather "LOWW" ["-t","<tempC>C","-L","18","-H","25","--normal","green","--high","red","--low","lightblue"] 10 + , commands = [ Run Weather "LOWW" ["-t","<tempC>C","-L","18","-H","25","--normal","green","--high","red","--low","lightblue"] 600 , Run Network "eth0" ["-L","0","-H","32","--normal","green","--high","red"] 10 , Run Network "eth1" ["-L","0","-H","32","--normal","green","--high","red"] 10 , Run Cpu ["-L","3","-H","50","--normal","green","--high","red"] 10 + , Run DynNetwork [ "--template" , "<dev>: <tx>kB/s|<rx>kB/s" + , "--Low" , "1000" -- units: B/s + , "--High" , "5000" -- units: B/s + , "--low" , "darkgreen" + , "--normal" , "darkorange" + , "--high" , "darkred" + ] 10 + -- cpu activity monitor + , Run MultiCpu [ "--template" , "Cpu: <total0>%/<total1>%" + , "--Low" , "50" -- units: % + , "--High" , "85" -- units: % + , "--low" , "darkgreen" + , "--normal" , "darkorange" + , "--high" , "darkred" + ] 10 + -- cpu core temperature monitor + , Run CoreTemp [ "--template" , "Temp: <core0>°C|<core1>°C" + , "--Low" , "70" -- units: °C + , "--High" , "80" -- units: °C + , "--low" , "darkgreen" + , "--normal" , "darkorange" + , "--high" , "darkred" + ] 50 , Run Memory ["-t","Mem: <usedratio>%"] 10 , Run Swap [] 10 , Run Com "uname" ["-s","-r"] "" 36000 , Run Date "%a %b %_d %Y %H:%M:%S" "date" 10 , Run Battery ["-t","<acstatus>: <left>%","--","-O", "AC","-o", "Bat","-h","green","-l","red"] 10 - , Run Com "/bin/bash" ["-c", "~/.xmonad/get-volume"] "myvolume" 10 + , Run Com "/bin/bash" ["-c", "~/scripts/get-volume"] "myvolume" 10 , Run StdinReader ] , sepChar = "%" , alignSep = "}{" - , template = "%StdinReader% }{ %cpu% | %memory% * %swap% | %battery% | Vol: %myvolume% | <fc=#ee9a00>%date%</fc> " + , template = "%StdinReader% }{ %multicpu% | %memory% * %swap% | %dynnetwork% | %battery% | Vol: %myvolume% | %LOWW% | <fc=#ee9a00>%date%</fc> " +-- , template = "%StdinReader% }{ %cpu% | %memory% * %swap% | %battery% | Vol: %myvolume% | %LOWW% | <fc=#ee9a00>%date%</fc> " -- , template = "%StdinReader% | %cpu% | %memory% * %swap% | %battery% | Vol: %myvolume% | %eth0% - %eth1% }{<fc=#ee9a00>%date%</fc> | %uname% | %LOWW% " } @@ -106,8 +106,14 @@ defaultLayouts = smartBorders(avoidStruts( ||| Grid)) chatLayout = avoidStruts(withIM (1%7) (Title myIMRosterTitle) Grid) +--gimpLayout = avoidStruts(ThreeColMid gimpMainWindow (3/100) (3/4)) gimpLayout = smartBorders(avoidStruts(ThreeColMid 1 (3/100) (3/4))) - +--gimpLayout = withIM (1/6) gimpMainWindow Grid +--gimpLayout = withIM (1/6) gimpMainWindow Grid +gimpMainWindow = (And (Resource "gimpi-2.8") + (Not (Or (Title "Layers - Brushes") + (Role "gimp-image-window")))) + myLayouts = onWorkspace "7:Comm" chatLayout $ onWorkspace "3:Pix" gimpLayout @@ -119,9 +125,9 @@ myKeyBindings = , ((myModMask, xK_a), sendMessage MirrorShrink) , ((myModMask, xK_z), sendMessage MirrorExpand) -- , ((myModMask, xK_x), spawn "screenshot") - , ((0, xK_Print), spawn "/home/nick/scripts/screenshot") - , ((myModMask .|. controlMask, xK_Print), spawn "/home/nick/scripts/windowshot") - , ((myModMask, xK_Print), spawn "/home/nick/scripts/fullestscreen") + , ((0, xK_Print), spawn "~/scripts/screenshot") + , ((myModMask .|. controlMask, xK_Print), spawn "~/scripts/windowshot") + , ((myModMask, xK_Print), spawn "~/scripts/fullestscreen") -- , ((myModMask, xK_p), spawn "synapse") -- , ((myModMask .|. mod1Mask, xK_space), spawn "synapse") , ((myModMask, xK_u), focusUrgent) @@ -131,9 +137,9 @@ myKeyBindings = -- , ((0, xK_F8), spawn "set-volume M") -- , ((myModMask, xK_F9), spawn "set-volume -") -- , ((0, XF86AudioRaiseVolume), spawn -volume +") - , ((0, 0x1008FF12), spawn "/home/nick/scripts/set-volume M") - , ((0, 0x1008FF11), spawn "/home/nick/scripts/set-volume -") - , ((0, 0x1008FF13), spawn "/home/nick/scripts/set-volume +") + , ((0, 0x1008FF12), spawn "~/scripts/set-volume M") + , ((0, 0x1008FF11), spawn "~/scripts/set-volume -") + , ((0, 0x1008FF13), spawn "~/scripts/set-volume +") ] myManagementHooks :: [ManageHook] |
