Advertisement
Haron_Prime

Untitled

Mar 6th, 2017
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Config {
  2.             -- appearance
  3.          font             = "xft:TerminusRe33:size=10:normal:antialias=true"
  4.        , additionalFonts  = ["xft:TerminusRe33:size=10:antialise=true:hinting=true"]
  5.        , bgColor          = "#1c1c1c"
  6.        , fgColor          = "#c0c0c0"
  7.        , position         = Top
  8.        , alpha            = 200
  9.        , border           = BottomB
  10.        , borderColor      = "#646464"
  11.        , textOffset       = 12
  12.        , iconOffset       = 7
  13.        , iconRoot         = "/home/tozen/.xmonad/.icons"  -- default: "."
  14.        , lowerOnStart     = True
  15.        , hideOnStart      = False
  16.        , allDesktops      = True
  17.        , overrideRedirect = True
  18.        , pickBroadest     = False
  19.        , persistent       = True
  20.        , commands         = [
  21.                                Run DynNetwork     [
  22.                                                     "--template" , "<icon=uparrow7.xbm/> <tx> kB <icon=downarrow7.xbm/> <rx>kB/s"
  23.                                                   , "--Low"      , "1000"       -- units: kB/s
  24.                                                   , "--High"     , "5000"       -- units: kB/s
  25.                                                   , "--low"      , "#d2d4dc"
  26.                                                   , "--normal"   , "#d2d4dc"
  27.                                                   , "--high"     , "#d2d4dc"
  28.                                                   ] 10
  29.                              , Run MultiCpu       [
  30.                                                     "--template" , "<icon=cpu1.xbm/> <total0>%"
  31.                                                   , "--Low"      , "50"         -- units: %
  32.                                                   , "--High"     , "85"         -- units: %
  33.                                                   , "--low"      , "#d2d4dc"
  34.                                                   , "--normal"   , "#d2d4dc"
  35.                                                   , "--high"     , "#fd0537"
  36.                                                   ] 10
  37.                              , Run CoreTemp       [
  38.                                                     "--template" , "<icon=temp1.xbm/><fc=#d2d4dc> <fc><core0>°C"
  39.                                                   , "--Low"      , "2"         -- units: °C
  40.                                                   , "--High"     , "80"        -- units: °C
  41.                                                   , "--low"      , "#d2d4dc"
  42.                                                   , "--normal"   , "#d2d4dc"
  43.                                                   , "--high"     , "fd0537"
  44.                                                   ] 50
  45.                              , Run Memory         [
  46.                                                     "--template" , "<icon=mem1.xbm/> <usedratio>%"
  47.                                                   , "--Low"      , "20"        -- units: %
  48.                                                   , "--High"     , "90"        -- units: %
  49.                                                   , "--low"      , "#d2d4dc"
  50.                                                   , "--normal"   , "#d2d4dc"
  51.                                                   , "--high"     , "#fd0537"
  52.                                                   ] 10
  53.                              , Run BatteryP       "BAT0"
  54.                                                   [
  55.                                                     "-t" , "<acstatus> <left>%"
  56.                                                   , "-L" , "10"
  57.                                                   , "-H" , "60"
  58.                                                   , "-l" , "#ff0000"
  59.                                                   , "-h" , "#c0c0c0"
  60.                                                   , "--"
  61.                                                   , "-O" , "<icon=ac10.xbm/>"
  62.                                                   , "-H" , "-20"
  63.                                                   , "-i" , "<icon=ac10.xbm/>"
  64.                                                   , "-o" , "<icon=batt10.xbm/>"
  65.                                                   ] 10
  66.                              , Run Wireless       "wlp2s0"
  67.                                                   [
  68.                                                     "-a" , "l"
  69.                                                   , "-w" , "4"
  70.                                                   , "-t" , "<icon=wifi_01.xbm/><quality>%"
  71.                                                -- , "-L" , "50"
  72.                                                -- , "-H" , "75"
  73.                                                -- , "-l" , "red"
  74.                                                -- , "-n" , "yellow"
  75.                                                   , "-h" , "#c0c0c0"
  76.                                                   ] 10
  77.                              , Run Com            ".bin/getVolume" []  "myVolume"  10
  78.                              , Run Com            "XMUpdate" [] "" 36000
  79.                              , Run PipeReader     "/tmp/pipe" "Update"        
  80.                              , Run Date           "<fc=#3aa4db>%F %a %T</fc>" "date" 10
  81.                             ]
  82.        -- layout
  83.        , sepChar =  "%"   -- delineator between plugin names and straight text
  84.        , alignSep = "}{"  -- separator between left-right alignment
  85.        , 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> "
  86.        }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement