# For commands above TEXT check:
# http://conky.sourceforge.net/config_settings.html
#
# For commands available below TEXT check:
# http://conky.sourceforge.net/variables.html

# Bunsen Labs Conky help threads
# http://crunchbang.org/forums/viewtopic.php?pid=371424#p371424

# beta tested by: smacz
# Enjoy! :)

# pkill -xf "conky -q -c $HOME/.config/conky/BL-Default.conkyrc" &
###  Begin Window Settings  #####################
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,skip_taskbar,skip_pager,sticky
own_window_colour 000000
own_window_class Conky
own_window_title Bunsen Labs Default Conky

### ARGB can be used for real transparency
### NOTE that a composite manager is required for real transparency.
### This option will not work as desired (in most cases) in conjunction with
### own_window_type normal
# own_window_argb_visual yes # Options: yes or no

### When ARGB visuals are enabled, this use this to modify the alpha value
### Use: own_window_type normal
### Use: own_window_transparent no
### Valid range is 0-255, where 0 is 0% opacity, and 255 is 100% opacity.
# own_window_argb_value 50

minimum_size 200 0  ### width | height
maximum_width 200

gap_x 20    ### left | right
gap_y 45    ### up | down

alignment tr
#######################  End Window Settings  ###
###  Font Settings  #############################
# Use Xft (anti-aliased font and stuff)
use_xft yes
xftfont Monospace:bold:size=9
#xftfont Liberation Sans:size=9

# Alpha of Xft font. Must be a value at or between 1 and 0 ###
xftalpha 1
# Force UTF8? requires XFT ###
override_utf8_locale yes

uppercase no
#########################  End Font Settings  ###
###  Colour Settings  ###########################
draw_shades no #yes
default_shade_color 000000

draw_outline no # amplifies text if yes
default_outline_color 000000

#default_color 656667 # Waldorf original colour
#default_color 7a7a7a # Flame  & Bunsen Grey
#default_color 929292 # Labs Grey
default_color C0C0C0 # Silver
color0 B0E0E6 # PowderBlue
color1 778899 # LightSlateGray
color2 D8BFD8 # Thistle
color3 9ACD32 # YellowGreen
color4 FFA07A # LightSalmon
color5 FFDEAD # NavajoWhite
color6 00BFFF # DeepSkyBlue
color7 5F9EA0 # CadetBlue
color8 BDB76B # DarkKhaki
color9 CD5C5C # IndianRed
#######################  End Colour Settings  ###
###  Borders Section  ###########################
draw_borders no
# Stippled borders?
stippled_borders 5
# border margins
border_inner_margin 5
border_outer_margin 0
# border width
border_width 2
# graph borders
draw_graph_borders yes #no
#default_graph_size 15 40
#######################  End Borders Section  ###
###  Miscellaneous Section  #####################
# Boolean value, if true, Conky will be forked to background when started.
background yes

# Adds spaces around certain objects to stop them from moving other things
# around, this only helps if you are using a mono font
# Options: right, left or none
use_spacer none

# Default and Minimum size is 256 - needs more for single commands that
# "call" a lot of text IE: bash scripts
text_buffer_size 6144

# Subtract (file system) buffers from used memory?
no_buffers yes

# change GiB to G and MiB to M
short_units yes

# Like it says, ot pads the decimals on % values
# doesn't seem to work since v1.7.1
pad_percents 2

# Imlib2 image cache size, in bytes. Default 4MiB Increase this value if you use
# $image lots. Set to 0 to disable the image cache.
imlib_cache_size 0

# Use the Xdbe extension? (eliminates flicker)
# It is highly recommended to use own window with this one
# so double buffer won't be so big.
double_buffer yes

#   Maximum size of user text buffer, i.e. layout below TEXT line in config file
#  (default is 16384 bytes)
# max_user_text 16384

# Desired output unit of all objects displaying a temperature. Parameters are
# either "fahrenheit" or "celsius". The default unit is degree Celsius.
# temperature_unit Fahrenheit

#################  End Miscellaneous Section  ###
#### ${font Monospace:bold:size=10}${alignc}${execpi 600 $HOME/.config/conky/scripts/bunsenweather.sh}
update_interval 1

TEXT
${color}${alignc}S Y S T E M    I N F O
${hr}
Host:${alignr}${nodename}
Uptime:${alignr}${uptime}
UTC:${alignr}${utime %H:%M}

${goto 60}Used${alignr}Size
Root${goto 60}${fs_used /}${alignr}${fs_size /}
Home${goto 60}${fs_used /home}${alignr}${fs_size /home}

${goto 60}MEM${alignr}MAX
RAM${goto 60}${mem} ${memgraph 12,40 789E2D 2D9AC9}${alignr}${memmax}
Swap${goto 60}${swap}/${swapfree}${alignr}${swapmax}

CPU:${goto 60}Used${alignr}GHz
Avg${goto 60}${if_match ${cpu cpu0}<10}  ${cpu cpu0}\
${else}${if_match ${cpu cpu0}<100} ${cpu cpu0}\
${else}${cpu cpu0}${endif}${endif}% ${cpugraph 12,60 789E2D 2D9AC9}${alignr}${freq_g}

${alignc}CPU Temp: ${exec sensors | grep 'CPU Temp' | cut -c20-28}

#${alignc}N i c e H a s h
#${hr}
#PID: ${exec ps aux | grep -m 1 'nheqminer' | cut -c9-14}   ${alignr}Usage: ${exec ps aux | grep -m 1 'nheqminer' | cut -c16-19}%

${alignc}N E T W O R K
${hr}
${if_existing /proc/net/route eth0}
${voffset -6}Up: ${upspeed eth0} kb/s ${alignr}${upspeedgraph eth0 12,60 789E2D 2D9AC9}
${voffset 4}Down: ${downspeed eth0} kb/s ${alignr}${downspeedgraph eth0 12,60 789E2D 2D9AC9}
${voffset 4}Upload: ${alignr}${totalup eth0}
${voffset 4}Download: ${alignr}${totaldown eth0}
${voffset 4}Local Ip: ${alignr}${addr eth0}
${voffset 4}Public Ip: ${alignr}${execi 1 ~/.scripts/ip.sh}
${else}
Network Unavailable
${endif}

${alignc}S H O R T C U T    K E Y S
${hr}
[Alt] + F1${alignr}Application Menu
[Alt] + F2${alignr}Run Dialog
#[Alt] + F3${alignr}Alt Menu
#[S] + Space${alignr}Main Menu
#[S] + Tab${alignr}Client Menu
Ctrl + Alt + t${alignr}Terminal
#[S] + f${alignr}File Manager
#[S] + e${alignr}Editor
#[S] + m${alignr}Media Player
Ctrl + Alt + w${alignr}Web Browser
Ctrl + Alt + m${alignr}Mail Client
Ctrl + Alt + c${alignr}Calculator
#[S] + h${alignr}Task Manager
#[S] + l${alignr}Lock Screen
#[S] + v${alignr}Volume Control
#[S] + x${alignr}Logout
#[PrtSc]${alignr}Screenshot