Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@stephen-hill
Last active August 29, 2015 14:16
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 stephen-hill/cfed2aaed22862c72c29 to your computer and use it in GitHub Desktop.
Save stephen-hill/cfed2aaed22862c72c29 to your computer and use it in GitHub Desktop.
Conky Config
############
# Settings #
############
background yes
use_xft yes
xftfont Droid Sans:size=9
xftalpha 1
update_interval 5
total_run_times 0
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_argb_visual yes
double_buffer yes
maximum_width 192
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
default_graph_size 192 16
default_color 656667
default_shade_color 000000
default_outline_color 828282
default_bar_size 192 8
alignment bottom_left
gap_x 32
gap_y 32
no_buffers yes
uppercase no
cpu_avg_samples 128
override_utf8_locale no
##########
# Output #
##########
TEXT
${color #FFFFFF}${font Droid Sans:pixelsize=10}
${font :bold:size=9}Processor$font \
$alignr ${CPU}%
${cpubar}
${voffset 5}RAM: ${mem}
${membar}
${voffset 5}Disk $alignc ${fs_used /} / ${fs_size /} $alignr ${fs_free_perc /}%
${fs_bar /}
${voffset 5}Swap $alignc $swap / $swapmax $alignr $swapperc%
${swapbar}
${voffset 5}Volume $alignr ${execi 1 amixer -R get Master | grep "Front Left:" | grep -Po [0-9]+"%"}
${execibar 1 amixer -R get Master | grep "Front Left:" | grep -Po [0-9]+"%" | grep -Po [0-9]+ }
${font :bold:size=9}Weather$font\
${alignr}\
Feels like \
${execi 60 php ~/forecast.io/forecast currently apparentTemperature}\
${iconv_start UTF-8 ISO_8859-1}°${iconv_stop}C
${voffset 4}\
${exec php ~/forecast.io/forecast minutely summary | fold -w 35 -s }
${voffset 4}${iconv_start UTF-8 ISO_8859-1}${exec php ~/forecast.io/forecast daily summary | fold -w 35 -s }${iconv_stop}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment