Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Config {
- -- appearance
- font = "xft:TerminusRe33:size=10:normal:antialias=true"
- , additionalFonts = ["xft:TerminusRe33:size=10:antialise=true:hinting=true"]
- , bgColor = "#1c1c1c"
- , fgColor = "#c0c0c0"
- , position = Top
- , alpha = 200
- , border = BottomB
- , borderColor = "#646464"
- , textOffset = 12
- , iconOffset = 7
- , iconRoot = "/home/tozen/.xmonad/.icons" -- default: "."
- , lowerOnStart = True
- , hideOnStart = False
- , allDesktops = True
- , overrideRedirect = True
- , pickBroadest = False
- , persistent = True
- , commands = [
- Run DynNetwork [
- "--template" , "<icon=uparrow7.xbm/> <tx> kB <icon=downarrow7.xbm/> <rx>kB/s"
- , "--Low" , "1000" -- units: kB/s
- , "--High" , "5000" -- units: kB/s
- , "--low" , "#d2d4dc"
- , "--normal" , "#d2d4dc"
- , "--high" , "#d2d4dc"
- ] 10
- , Run MultiCpu [
- "--template" , "<icon=cpu1.xbm/> <total0>%"
- , "--Low" , "50" -- units: %
- , "--High" , "85" -- units: %
- , "--low" , "#d2d4dc"
- , "--normal" , "#d2d4dc"
- , "--high" , "#fd0537"
- ] 10
- , Run CoreTemp [
- "--template" , "<icon=temp1.xbm/><fc=#d2d4dc> <fc><core0>°C"
- , "--Low" , "2" -- units: °C
- , "--High" , "80" -- units: °C
- , "--low" , "#d2d4dc"
- , "--normal" , "#d2d4dc"
- , "--high" , "fd0537"
- ] 50
- , Run Memory [
- "--template" , "<icon=mem1.xbm/> <usedratio>%"
- , "--Low" , "20" -- units: %
- , "--High" , "90" -- units: %
- , "--low" , "#d2d4dc"
- , "--normal" , "#d2d4dc"
- , "--high" , "#fd0537"
- ] 10
- , Run BatteryP "BAT0"
- [
- "-t" , "<acstatus> <left>%"
- , "-L" , "10"
- , "-H" , "60"
- , "-l" , "#ff0000"
- , "-h" , "#c0c0c0"
- , "--"
- , "-O" , "<icon=ac10.xbm/>"
- , "-H" , "-20"
- , "-i" , "<icon=ac10.xbm/>"
- , "-o" , "<icon=batt10.xbm/>"
- ] 10
- , Run Wireless "wlp2s0"
- [
- "-a" , "l"
- , "-w" , "4"
- , "-t" , "<icon=wifi_01.xbm/><quality>%"
- -- , "-L" , "50"
- -- , "-H" , "75"
- -- , "-l" , "red"
- -- , "-n" , "yellow"
- , "-h" , "#c0c0c0"
- ] 10
- , Run Com ".bin/getVolume" [] "myVolume" 10
- , Run Com "XMUpdate" [] "" 36000
- , Run PipeReader "/tmp/pipe" "Update"
- , Run Date "<fc=#3aa4db>%F %a %T</fc>" "date" 10
- ]
- -- layout
- , sepChar = "%" -- delineator between plugin names and straight text
- , alignSep = "}{" -- separator between left-right alignment
- , template = " <fc=#3aa4db>|</fc> %battery% <fc=#3aa4db>|</fc> %coretemp% <fc=#3aa4db>|</fc> %memory% <fc=#3aa4db>|</fc> %dynnetwork% <fc=#3aa4db>|</fc> %multicpu% <fc=#3aa4db>|</fc> } %date% {<fc=#3aa4db>|</fc> <action=`XMYaourt` button=1>%Update%%XMUpdate% </action><fc=#3aa4db>|</fc> <fc=#c0c0c0><icon=vol2.xbm/> %myVolume% </fc><fc=#3aa4db>|</fc> %wlp2s0wi% <fc=#3aa4db>|</fc> "
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement