Skip to content

Instantly share code, notes, and snippets.

@pry0cc
Created May 6, 2014 17:11
Show Gist options
  • Select an option

  • Save pry0cc/04dc883537b2da4f2b34 to your computer and use it in GitHub Desktop.

Select an option

Save pry0cc/04dc883537b2da4f2b34 to your computer and use it in GitHub Desktop.
background no
out_to_console yes
out_to_x no
update_interval 1
total_run_times 0
short_units yes
pad_percents 3
override_utf8_locale yes
TEXT
,[
# Kernel Version
# Uptime
{"full_text":"USAGE","color":"\#545454","separator":false,"separator_block_width":6},\
{"full_text":"${fs_used}/${fs_size}","color":"\#909737","separator":false,"separator_block_width":6},\
# CPU Usage
{"full_text":"CPU","color":"\#545454","separator":false,"separator_block_width":6},\
{"full_text":"${if_match ${cpu}<15}${cpu}%","color":"\#909737","separator":false,"sepi3arator_block_width":6},\
{"full_text":"${else}"},
{"full_text":"${if_match ${cpu}<55}${cpu}%","color":"\#b27d12","separator":false,"separator_block_width":6},\
{"full_text":"${else}"},\
{"full_text":"${if_match ${cpu}>=75}${cpu}%","color":"\#802828","separator":false,"separator_block_width":6},\
{"full_text":"${else}"},\
{"full_text":"${endif}${endif}${endif}"},\
# CPU Temperature
{"full_text":"TEMP","color":"\#545454","separator":false,"separator_block_width":6},\
{"full_text":"${if_match ${acpitemp}<45}${acpitemp}°C","color":"\#909737","separator":false,"separator_block_width":6},\
{"full_text":"${else}"},\
{"full_text":"${if_match ${acpitemp}<55}${acpitemp}°C","color":"\#b27d12","separator":false,"separator_block_width":6},\
{"full_text":"${else}"},\
{"full_text":"${if_match ${acpitemp}>=55}${acpitemp}°C","color":"\#802828","separator":false,"separator_block_width":6},\
{"full_text":"${else}"},\
{"full_text":"${endif}${endif}${endif}"},\
# Memory
{"full_text":"MEM","color":"\#545454","separator":false,"separator_block_width":6},\
{"full_text":"${if_match ${memperc}<30}${memeasyfree}","color":"\#909737","separator":false,"separator_block_width":6},\
#{"full_text":"${else}"},\
{"full_text":"${if_match ${memperc}<70}${memeasyfree}","color":"\#b27d12","separator":false,"separator_block_width":6},\
{"full_text":"${else}"},\
{"full_text":"${if_match ${memperc}>=70}${memeasyfree}","color":"\#802828","separator":false,"separator_block_width":6},\
{"full_text":"${endif}${endif}${endif}"},\
# Volume
{"full_text":"VOL","color":"\#545454","separator":false,"separator_block_width":6},\
{"full_text":"${execi 1 amixer sget Master,0 | egrep -o '([0-9]+%|\[(on|off)\])' | sed ':a;N;$!ba;s/\n/ /g'}","color":"\#909737","separator":false},
# Battery
{"full_text":"BAT","color":"\#545454","separator":false,"separator_block_width":6},\
{"full_text":"${if_match ${battery_percent}<30}${battery_percent}%","color":"\#802828","separator":false,"separator_block_width":6},\
{"full_text":"${else}"},\
{"full_text":"${if_match ${battery_percent}<70}${battery_percent}%","color":"\#b27d12","separator":false,"separator_block_width":6},\
{"full_text":"${else}"},\
{"full_text":"${if_match ${battery_percent}>=70}${battery_percent}%","color":"\#909737","separator":false,"separator_block_width":6},\
{"full_text":"${endif}${endif}${endif}"},
# Uptime
{"full_text":"UPT","color":"\#545454","separator":false,"separator_block_width":6},\
{"full_text":"${uptime}","color":"\#909737","separator":false,"separator_block_width":6},\
# Date
{"full_text":"|","color":"\#545454","separator":false,"separator_block_width":6},\
{"full_text":"${time %D}","color":"\#aaaaaa","separator":false,"separator_block_width":6},\
# Time
{"full_text":"|","color":"\#545454","separator":false,"separator_block_width":6},\
{"full_text":"${time %H:%M:%S}","color":"\#aaaaaa","separator":false}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment