Skip to content

Instantly share code, notes, and snippets.

@KLIM8D

KLIM8D/.conky-i3 Secret

Created March 9, 2014 17:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save KLIM8D/24d887c35fef32e4f416 to your computer and use it in GitHub Desktop.
Save KLIM8D/24d887c35fef32e4f416 to your computer and use it in GitHub Desktop.
.conky-i3
out_to_x no
out_to_console yes
short_units yes
update_interval 1
max_text_width 0
TEXT
[\
#BTC:
{"full_text": "Now","color": "888888","separator": false,"separator_block_width": 6},{"full_text": "485.20","color": "EEEEEE","separator": false},{"full_text": "High","color": "888888","separator": false,"separator_block_width": 6},{"full_text": "490.00","color": "AAF096","separator": false},\
# Uptime:
{"full_text":"UPTIME","color":"\#888888","separator":false,"separator_block_width":6},\
{"full_text":"${uptime_short}","color":"\#EEEEEE","separator":false},\
#Battery:
{"full_text":"BATTERY","color":"\#888888","separator":false,
"separator_block_width":6},\
{"full_text":"${battery_percent}%","color":"\#EEEEEE","separator":false},\
# Memory:
{"full_text":"MEM","color":"\#888888","separator":false,"separator_block_width":6},\
{"full_text":"${if_match ${memperc}<30}${mem}/${memmax}","color":"\#AAF096","separator":false,"separator_block_width":6},\
{"full_text":"${else}"},\
{"full_text":"${if_match ${memperc}<60}${mem}/${memmax}","color":"\#F0DC64","separator":false,"separator_block_width":6},\
{"full_text":"${else}"},\
{"full_text":"${if_match ${memperc}<85}${mem}/${memmax}","color":"\#FF9933","separator":false,"separator_block_width":6},\
{"full_text":"${else}"},\
{"full_text":"${if_match ${memperc}>=85}${mem}/${memmax}","color":"\#FF3333","separator":false,"separator_block_width":6},Ò\
{"full_text":"${endif}${endif}${endif}${endif}"},\
# CPU:
{"full_text":"CPU","color":"\#888888","separator":false,"separator_block_width":6},\
{"full_text":"${if_match ${cpu cpu0}<25}${cpu cpu0}","color":"\#AAF096","separator":false,"separator_block_width":0},\
{"full_text":"${else}"},\
{"full_text":"${if_match ${cpu cpu0}<50}${cpu cpu0}","color":"\#F0DC64","separator":false,"separator_block_width":0},\
{"full_text":"${else}"},\
{"full_text":"${if_match ${cpu cpu0}<75}${cpu cpu0}","color":"\#FF9933","separator":false,"separator_block_width":0},\
{"full_text":"${else}"},\
{"full_text":"${if_match ${cpu cpu0}<=100}${cpu cpu0}","color":"\#FF3333","separator":false,"separator_block_width":0},\
{"full_text":"${endif}${endif}${endif}${endif}"},\
{"full_text":"%","color":"\#EEEEEE","separator":false,"separator_block_width":6},\
# Date:
{"full_text":"DATE","color":"\#888888","separator":false,"separator_block_width":6},\
{"full_text":"${time %a %d-%m-%Y}","color":"\#EEEEEE","separator":false,"separator_block_width":6},\
# Time:
{"full_text":"TIME","color":"\#888888","separator":false,"separator_block_width":6},\
{"full_text":"${time %R}","color":"\#EEEEEE","separator":false}\
],
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment