Created
May 29, 2015 11:13
-
-
Save bhcopeland/c6f0a7956676907c1106 to your computer and use it in GitHub Desktop.
conky-i3bar
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ### Conky configuration file | |
| ## No output to X <yes/no> | |
| out_to_x no | |
| ## Create own window to draw <yes/no> | |
| own_window no | |
| ## Print everything to console? | |
| out_to_console yes | |
| ## Use double buffering (reduces flicker, not needed for console output) | |
| double_buffer no | |
| ## Set to yes if you want Conky to be forked in the background | |
| background no | |
| ## Update interval in seconds | |
| update_interval 1.5 | |
| ## This is the number of times Conky will update before quitting. | |
| ## Set to zero to run forever. | |
| total_run_times 0 | |
| ## Shortens units to a single character (kiB->k, GiB->G, etc.). Default is off. | |
| short_units yes | |
| ## How strict should if_up be when testing an interface for being up? | |
| ## The value is one of up, link or address, to check for the interface | |
| ## being solely up, being up and having link or being up, having link | |
| ## and an assigned IP address. | |
| if_up_strictness address | |
| ## Add spaces to keep things from moving about? This only affects certain objects. | |
| ## use_spacer should have an argument of left, right, or none | |
| use_spacer left | |
| ## Force UTF8? note that UTF8 support required XFT | |
| override_utf8_locale no | |
| ## number of cpu samples to average | |
| ## set to 1 to disable averaging | |
| cpu_avg_samples 2 | |
| ## Stuff after 'TEXT' will be formatted on screen | |
| #{"full_text": " G ${execpi 2 aticonfig --odgt|grep Temp|awk '{ print $5+0 }'}", "color": "\#FFFFFF"}, | |
| #{"full_text":" G ${execpi 5 nvidia-smi -q -d TEMPERATURE | grep 'GPU Current Temp' | cut -c39-40|head -n1}", "color": "\#FFFFFF"}, | |
| #{"full_text":" G ${execpi 5 nvidia-smi -q -d TEMPERATURE | grep 'GPU Current Temp' | cut -c39-40|tail -1}", "color": "\#FFFFFF"}, | |
| #{"full_text": " ♪ ${moc_artist}", "color":"\#268BD2"}, | |
| #{"full_text": "${exec /home/ben/Scripts/iowait.sh}","color": "\#FFFFFF"}, | |
| #{"full_text": "${exec python2.7 /home/ben/Scripts/conkypacman.py}","color": "\#FFFFFF"}, | |
| #{"full_text":" wlp2s0 ${downspeed wlp2s0}/s ${upspeed wlp2s0}/s", "color": "\#FFFFFF"}, | |
| TEXT | |
| [ | |
| {"full_text": "${cpu cpu0}% $freq_g GHz ", "color":"\#FFFFFF"}, | |
| {"full_text": "${loadavg} ", "color":"\#FFFFFF"}, | |
| {"full_text": "C ${execpi 2 sensors|grep Physical|cut -c18-25}", "color": "\#FFFFFF"}, | |
| {"full_text": "G ${execpi 2 sensors|grep radeon -a2|grep temp1|cut -c16-24}", "color": "\#FFFFFF"}, | |
| {"full_text": "${mem}/${memmax}", "color": "\#FFFFFF"}, | |
| {"full_text": "${if_running clementine} ${if_match "${execi 5 conkyClementine --datatype=ST}" == "Playing"}►${font Droid Sans:bold:size=10}${color0} ${execi 5 conkyClementine --datatype=AR | tr -d '"'} - ${execi 5 conkyClementine | tr -d '"'} (${execi 5 conkyClementine --datatype=BR}kbps) ${else} ♪ ${endif}", "color": "\#D15600"}, | |
| {"full_text": "/ ${fs_free /}", "color": "\#FFFFFF"}, | |
| {"full_text":"${if_up eno1} ▼ ${downspeed eno1}/s ▲ ${upspeed eno1}/s $endif", "color": "\#FFFFFF"}, | |
| {"full_text":"${if_up wlp3s0}≈${wireless_essid wlp3s0} (${wireless_bitrate wlp3s0}${wireless_link_qual wlp3s0}% ${exec /home/ben/Scripts/i3ghz.sh})${else}≈${endif}" , "color" : ${if_up wlp3s0}"\#ffffff"${else}"\#ff0000"${endif}}, | |
| {"full_text":"${execi 60 acpi -b |awk -F ": " '{print $2}'| awk -F "," '{print substr($1,1,1) $2}'}","color": "\#ffffff"}, | |
| {"full_text": "↑ ${uptime_short} ","color": "\#FFFFFF"}, | |
| {"full_text":" ${time %d-%m-%Y %a} ${time %H:%M} ", "color": "\#FFFFFF"} | |
| ], |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment