################################
#			       #
#	  Conky Script         #
#     Made by Martin Rotter    #
#	skunkic@seznam.cz      #
#	   Version 0.1         #
#    Uses GNU GPLv3 License    #
#			       #
################################

# Create own window instead of using desktop
own_window yes
own_window_hints undecorated,below,skip_taskbar
background no

# Use double buffering
double_buffer yes

# Fiddle with window
use_spacer yes
use_xft yes

# Update interval in seconds
update_interval 5.0					# this is used if system is not running on battery battery
update_interval_on_battery 30.0				# this is used if system is running on battery battery, higher value ensures that conky save battery power

# Minimum size of text area
minimum_size 400 5

# Draw shades?
draw_shades no

# Text stuff
draw_outline no
draw_borders no
uppercase no

# Stippled borders?
stippled_borders 8

# Border margins
border_margin 4

# Border width
border_width 1

# Default colors and also border colors
default_color white
default_shade_color black
default_outline_color white
own_window_colour brown
own_window_transparent yes

# Text alignment
alignment top_right

# Gap between borders of screen and text
gap_x 10
gap_y 10

# Font settings
override_utf8_locale yes
xftfont Terminus:size=9
xftalpha 0.8

# Front-End
TEXT

# TIME & OS INFORMATION
${alignc -105}Time & OS Information
${offset 210}${color black}${hr 1}
${offset 210}${color black}Date: ${color }${time %e. %B %G (%A)}
${offset 210}${color black}Time: ${color }${time %H:%M (%Z)}
${offset 210}${color black}Uptime: ${color }$uptime_short
${offset 210}${color black}OS: ${color }$sysname ($machine)
${offset 210}${color black}Kernel: ${color }$kernel
${offset 210}${color black}Volume: ${color }$mixer %
# Wi-Fi CONNECTION
${if_up wlan0}
${alignc -105}Wi-Fi Connection
${offset 210}${color black}${hr 1}
${offset 210}${color black}AP's eSSID: ${color }${wireless_essid wlan0}
${offset 210}${color black}AP's IP: ${color }$gw_ip
${offset 210}${color black}My IP: ${color }${addr wlan0}
${offset 210}${color black}Signal Strength: ${color }${wireless_link_qual wlan0}%
${offset 210}${color black}Downloaded: ${color }${totaldown wlan0}
${offset 210}${color black}Uploaded: ${color }${totalup wlan0}
$endif
# SYSTEM LOAD
${alignc -105}System Load
${offset 210}${color black}${hr 1}
${offset 210}${color black}CPU Load: ${color }${cpu 0} %
${offset 210}${color black}CPU Temperature: ${color }${acpitemp}°C
${offset 210}${color black}Average Load: ${color }$loadavg
${offset 210}${color black}All Processes: ${color }$processes  
${offset 210}${color black}Running Processes: ${color }$running_processes

# BATTERY
${alignc -105}Battery
${offset 210}${color black}${hr 1}
${offset 210}${color black}Battery Status: ${color }${battery BAT0}
${offset 210}${color black}Battery Health: ${color }${battery_percent BAT0} %
${offset 210}${color black}Battery Time: ${color }${battery_time BAT0}

# FILESYSTEM
${alignc -105}Filesystem
${offset 210}${color black}${hr 1}
${offset 210}${color black}RAM: ${color }$memmax ($memperc% Used)
${offset 210}${membar 3,100}
${offset 210}${color black}UBUNTU: ${color }${fs_free /}/${fs_size /}
${offset 210}${fs_bar 3,100 /}
${offset 210}${color black}WINDOWS 7: ${color }${fs_free /media/win7}/${fs_size /media/win7}
${offset 210}${fs_bar 3,100 /media/win7}
${offset 210}${color black}HOME: ${color }${fs_free /home}/${fs_size /home}
${offset 210}${fs_bar 3,100 /home}
${offset 210}${color black}DATA: ${color }${fs_free /media/data}/${fs_size /media/data}
${offset 210}${fs_bar 3,100 /media/data}
