Skip to content

Instantly share code, notes, and snippets.

@coproduto
Last active August 7, 2020 14:21
Show Gist options
  • Save coproduto/cf76dfbd7e9be682b2c58da527bbba7a to your computer and use it in GitHub Desktop.
Save coproduto/cf76dfbd7e9be682b2c58da527bbba7a to your computer and use it in GitHub Desktop.
Config { font = "-misc-fixed-*-*-*-*-10-*-*-*-*-*-*-*"
, additionalFonts = []
, borderColor = "black"
, border = TopB
, bgColor = "black"
, fgColor = "grey"
, alpha = 255
, position = Top
, textOffset = -1
, iconOffset = -1
, lowerOnStart = True
, pickBroadest = False
, persistent = False
, hideOnStart = False
, iconRoot = "."
, allDesktops = True
, overrideRedirect = True
, commands = [
Run MultiCpu [ "--template", "CPU: <total0>% / <total1>% / <total2>% / <total3>%"
, "--Low", "33"
, "--High", "66"
, "--low", "green"
, "--normal", "yellow"
, "--high", "red"
] 10
, Run Memory ["-t","Mem: <usedratio>%"] 10
, Run Swap [] 10
, Run Date "%a %b %_d %Y %H:%M:%S" "date"
, Run Battery [ "--template", "<acstatus>"
, "--Low", "20"
, "--High", "50"
, "--low", "red"
, "--normal", "yellow"
, "--high", "green"
, "--"
, "-o", "<left>% (<timeleft>)"
, "-O", "<left>% (+)"
, "-i", "<left>% (=)"
] 50
, Run MultiCoreTemp [ "-t", "<core0>°C / <core1>°C"
, "-L", "60"
, "-H", "80"
, "-l", "green"
, "-n", "yellow"
, "-h", "red"
] 50
, Run StdinReader
]
, sepChar = "%"
, alignSep = "}{"
, template = "%StdinReader% | %multicpu% | %multicoretemp% | %memory% * %swap% | }{ | <fc=#ee9a00>%date%</fc> | %battery%"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment