# Use Xft?
use_xft yes
xftfont Andale Mono:size=6

# Update interval in seconds
update_interval 1

# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0

# Create own window instead of using desktop (required in nautilus)
own_window  yes
own_window_transparent yes
own_window_type widget
own_window_hints undecorate,sticky,skip_taskbar,skip_pager,below

# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes

# Minimum size of text area
minimum_size 280 5

maximum_width 100

# Draw shades?
draw_shades yes

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# Stippled borders?
stippled_borders 0

# border margins
border_margin 3

# border width
border_width 1

# Default colors and also border colors
default_color 878787
default_shade_color 000000
default_outline_color 1a1a1a
own_window_colour 262524

# Text alignment, other possible values are commented
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right

# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 130
gap_y 200

# Subtract file system buffers from used memory?
no_buffers yes

# set to yes if you want all text to be in uppercase
uppercase no

# number of cpu samples to average
# set to 1 to disable averaging
cpu_avg_samples 2

# number of net samples to average
# set to 1 to disable averaging
net_avg_samples 2

# Force UTF8? note that UTF8 support required XFT
override_utf8_locale yes

# Add spaces to keep things from moving about?  This only affects certain objects.
use_spacer no

#colors
#color1 9ab7dc
color1 878787
color2 ffffff 

TEXT
$color1$alignc${execi 60 lsb_release -d | sed 's/.*\t//' | sed 's/ (.*)//'}
$color1$alignc${execi 60 echo $USER} @ $nodename

${color1}Kernel:${color2}${alignr}$kernel
${color1}Uptime:${color2}${alignr}$uptime
${color1}Bat: ${color2}${battery_percent BAT0}% ${battery_bar 3 BAT0}
${color1}Cpu1: ${color2}${cpu cpu1}% $alignr${color2}${hwmon 0 temp 1}°C
${color1}${cpugraph cpu1 15,100 a7a7a7 ffffff} 
${color1}Cpu2: ${color2}${cpu cpu2}% $alignr${color2}${hwmon 1 temp 1}°C
${color1}${cpugraph cpu2 15,100 a7a7a7 ffffff} 

${color1}Governor:
${color2}${execi 5 cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor} ${alignr}${execi 5 $CONKY_ROOT/scripts/cpu_mhz}GHz
${color1}Gpu:${color2}${alignr}${execi 20 nvidia-settings -q GPUCurrentClockFreqs |grep Attribute |awk '{print $4}' |cut -c1-7} ${color2}${execi 20 nvidia-settings -q gpucoretemp |grep Attribute |awk '{print $4}' |cut -c1-2}°C

${color1}Ram:  ${color2}${memperc}% ${alignr}$mem
${color2}${membar 3}
${color1}Swap: ${color2}${swapperc}% ${alignr}$swap
${color2}${swapbar 3}

${color1}Poldek:
$color2${execi 60 $CONKY_ROOT/scripts/poldek/get_info.sh count} (${execi 60 ~/software/conky/scripts/poldek/get_info.sh size})
