Created
August 3, 2015 09:31
-
-
Save bhcopeland/802accb2d9640398a9f3 to your computer and use it in GitHub Desktop.
.i3-conkyrc
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
out_to_x no | |
own_window no | |
out_to_console yes | |
background no | |
max_text_width 0 | |
update_interval 2.0 | |
total_run_times 0 | |
short_units yes | |
if_up_strictness address | |
use_spacer left | |
override_utf8_locale no | |
cpu_avg_samples 2 | |
TEXT | |
[ | |
# { "full_text" : "${if_up wlp4s0}${wireless_link_qual_perc wlp4s0}% (${wireless_essid wlp4s0})${else} no wifi${endif} " , "color" : "\#f2f0ec" }, | |
{ "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" : "${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" : "\#f2f0ec" }, | |
{ "full_text" : " / ${fs_free /}(${fs_free_perc}%) " , "color" : "\#f2f0ec" }, | |
#CPU | |
{ "full_text" : " ","color":"\#f2f0ec","separator":false,"separator_block_width":6},\ | |
{ "full_text" : "${if_match ${execp sensors|grep Physical|cut -c18-25|awk '{printf "%.0f\n", $1}'}<60}${execp sensors|grep Physical|cut -c18-25|awk '{printf "%.0f\n", $1}'}°C ","color":"\#f2f0ec","separator":true,"separator_block_width":8},\ | |
{ "full_text" : "${else}"},\ | |
{ "full_text" : "${if_match ${execp sensors|grep Physical|cut -c18-25|awk '{printf "%.0f\n", $1}'}<75}${execp sensors|grep Physical|cut -c18-25|awk '{printf "%.0f\n", $1}'}°C ","color":"\#b27d12","separator":true,"separator_block_width":8},\ | |
{ "full_text" : "${else}"},\ | |
{ "full_text" : "${if_match ${execp sensors|grep Physical|cut -c18-25|awk '{printf "%.0f\n", $1}'}>=85}${execp sensors|grep Physical|cut -c18-25|awk '{printf "%.0f\n", $1}'}°C ","color":"\#CC0000","separator":true,"separator_block_width":8},\ | |
{ "full_text" : "${else}"},\ | |
{ "full_text" : "${endif}${endif}${endif}"},\ | |
#GFX | |
{ "full_text" : " ","color":"\#f2f0ec","separator":false,"separator_block_width":2},\ | |
{ "full_text" : "${if_match ${execp aticonfig --odgt|grep Temp|awk '{ print $5+0 }'}<60}${execp aticonfig --odgt|grep Temp|awk '{ print $5+0 }'}°C ","color":"\#f2f0ec","separator":true,"separator_block_width":8},\ | |
{ "full_text" : "${else}"},\ | |
{ "full_text" : "${if_match ${execp aticonfig --odgt|grep Temp|awk '{ print $5+0 }'}<75}${execp aticonfig --odgt|grep Temp|awk '{ print $5+0 }'}°C ","color":"\#b27d12","separator":true,"separator_block_width":8},\ | |
{ "full_text" : "${else}"},\ | |
{ "full_text" : "${if_match ${execp aticonfig --odgt|grep Temp|awk '{ print $5+0 }'}>=85}${execp aticonfig --odgt|grep Temp|awk '{ print $5+0 }'}°C ","color":"\#CC0000","separator":true,"separator_block_width":8},\ | |
{ "full_text" : "${else}"},\ | |
{ "full_text" : "${endif}${endif}${endif}"},\ | |
{ "full_text" : " RAM ${mem}(${memperc}%) " , "color" : | |
${if_match ${memperc}<90}"\#f2f0ec"${else}"\#f2777a"${endif} }, | |
{ "full_text" : " ${execi 300 checkupdates | wc -l}/${execi 300 pacman -Q | wc -l} " , "color" : "\#f2f0ec" }, | |
{ "full_text" : " ${kernel} " , "color" : "\#f2f0ec" }, | |
{ "full_text" : " ${if_match ${battery_percent BAT0} <= 19}${color "\#CC0000"} ${battery}${else}${color2}${battery}${endif} " , "color" : "\#f2f0ec" }, | |
{ "full_text" : " ${execi 3 printf %.0f $(echo "scale=2;$(cat /sys/class/backlight/intel_backlight/brightness)/$(cat /sys/class/backlight/intel_backlight/max_brightness)*100;scale=0" | bc)}% " , "color" : "\#f2f0ec" }, | |
{ "full_text" : " ${execi 1 pactl list sinks | perl -000ne 'if(/#1/){/(Volume:.*)/; print "$1\n"}' | grep -o [[:alnum:]]*% | head -n1} " , "color" : "\#f2f0ec" }, | |
{ "full_text" : " ${time %a %d %B %Y} " , "color" : "\#f2f0ec" }, | |
{ "full_text" : " ${time %H:%M:%S} " , "color" : "\#f2f0ec" }, | |
{ "full_text" : "" , "color" : "\#f2f0ec" } | |
], |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment