Δημοσιεύτηκε: 08 Μάιος 2014, 23:29
- Κώδικας: Επιλογή όλων
####
## Use XFT? Required to Force UTF8 (see below)
#
use_xft yes
xftfont DroidSans:size=8.75
xftalpha 0.1
####
## Force UTF8? Requires XFT (see above)
## Displays degree symbol, instead of °, etc.
#
override_utf8_locale yes
####
## This buffer is used for single lines, text, output from $exec, and other variables.
## Increasing the 'text_buffer_size' (too high) will drastically reduce Conky's performance.
## Decreasing the buffer size (too low) will truncate content and cause strange display output.
## Standard text buffer size is 256 bytes (cannot be less). Adjust YOUR buffer wisely!
## Tips n' Tricks from dk75:"You don't need to create a 12KiB buffer for every Conky config line."
#
text_buffer_size 4352
####
## Maximum number of special things, e.g. fonts, offsets, aligns, etc. (default is 512)
## Tips n' Tricks from: sparker256 (Thanks, Bill!)
#
max_specials 700
####
## Daemonize Conky, aka 'fork to background'.
#
background yes
####
## Update interval in seconds.
#
update_interval 2.0
####
## The number of times Conky will update before quitting.
## Zero makes Conky run forever.
#
total_run_times 0
####
## Create 'own_window' type. Makes Conky behave like other panels.
#
own_window yes
own_window_transparent yes
own_window_type normal
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
####
## Some distros require the following lines for true transparency.
## BOTH of these lines need to be Commented/Uncommented in tandem.
#
own_window_argb_visual yes
own_window_argb_value 255
####
## Force images to redraw when they change.
#
imlib_cache_size 1
####
## Use double buffering? Reduces flicker.
#
double_buffer yes
own_window_transparent yes
####
## Draw shades?
#
draw_shades no
default_shade_color 330
####
## Draw outlines?
#
draw_outline no
####
## Draw borders around text?
#
draw_borders no
####
## Draw borders around graphs?
#
draw_graph_borders no
####
## Print text to stdout?
## Print text in console?
#
out_to_ncurses no
out_to_console no
####
## Text alignment.
#
alignment top_right
####
## Minimum size of the text area.
## Syntax: minimum_size [width] [height]
#
#minimum_size 245 1394
minimum_size 445 1894
maximum_width 1200
####added by me
## Maximum size of user text buffer, i.e. layout below TEXT line in config file (default is 16384 bytes)
max_user_text 114688
####
## Maximum width of the text area.
## Syntax: maximum_width [width]
#
maximum_width 290
####
## Gap between text and screen borders.
#
gap_x 6 # Left/Right
gap_y 32 # Top/Bottom
####
## Shorten MiB/GiB to M/G in stats.
#
short_units yes
####
## Pad % symbol spacing after numbers.
#
pad_percents 0
####
## Pad spacing between text and borders.
#
border_inner_margin 2
####
## Limit the length of names in "Top Processes".
#
top_name_width 10
####
## Subtract file system -/+buffers/cache from used memory?
## Set to yes, to produce meaningful physical memory stats.
#
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 4
####
## Number of net samples to average.
## Set to 1 to disable averaging.
#
net_avg_samples 2
####
## Add spaces to keep things from moving around?
## Only affects certain objects.
#
use_spacer right
####
## My colors (suit yourself)
#
color0 White #FFFFFF
color1 Ivory #FFFFF0
color2 Ivory2 #EEEEE0
color3 Ivory3 #CDCDC1
color4 Tan1 #FFA54F
color5 Tan2 #EE9A49
color6 Gray #7E7E7E
color7 AntiqueWhite4 #8B8378
color8 DimGray #696969
color9 OrangeRed #FF4500
#####
## Load Lua for shading (optional)
## Set the path to your script here.
#
lua_load ~/.conky/draw_bg.lua
lua_draw_hook_pre draw_bg
####
## Load Lua for bargraphs (required)
## Set the path to your script here.
#
lua_load ~/.conky/bargraph_small.lua
#lua_load ~/.conky/bargraph_testing.lua
lua_draw_hook_post main_bars
####
## Define the locations of Conkywx files (required)
## Set the path to your .confs and templates here.
#
template0 "/usr/share/conkywx/conkywx.sh"
template2 "/home/nikos/.config/conkywx/vindsl-metric-conkywx.conf"
template6 "/home/nikos/.config/conkywx/wx-wu-vindsl-metric-weather-graphic-template.sh"
TEXT
##################################
## LOGO ##
##################################
## Uncomment for soft-coded ID (dynamic)
${voffset -33}${font OpenLogos:size=100}${color2}v${font}${voffset -76}${goto 178}${font ubuntu-title:bold:size=19}${color9}14.04${font ubuntu-title:bold:size=12}${color9}. LTS${offset 8}${font}
####
## Additional ID (branch version, code name, release date, etc.)
####
##################################
## SYSTEM ##
##################################
${voffset 7}${font DroidSans:bold:size=8}${color9}SYSTEM${offset 8}${color9}${voffset -2}${hr 1}${font}
# ${voffset 4}${font OpenLogos:size=10}${color9}u${voffset -4}${font DroidSans:size=8.6}${color0}${offset 5}${pre_exec lsb_release -sd || cat /etc/*release}${font}
${voffset 2}${offset -2}${font OpenLogos:size=12}${color9}Z${voffset -4}${font DroidSans:size=8.6}${color0}${offset 3}${sysname}${offset 3}${kernel}${alignr}${font DroidSans:size=8.3}${machine}${font}
${voffset 2}${font StyleBats:size=10}${color9}d${voffset -2}${font DroidSans:size=8.6}${color0}${offset 5}${pre_exec lspci | grep VGA | sed -e 's/.*\[\([^]]*\)\].*/\1/g'}${alignr}${pre_exec fglrxinfo | grep version | awk '{print $NF}'}${font}
${voffset 2}${font StyleBats:size=10}${color9}A${voffset -1}${font DroidSans:size=8.6}${color0}${offset 5}Intel${offset 3}i5 2500K${offset 3}Sandy${offset 3}Bridge${alignr 1}${font DroidSans:size=8.3}${freq_g cpu0}${offset 1}GHz${font}
${voffset 2}${font StyleBats:size=10}${color9}q${voffset -1}${font DroidSans:size=8.6}${color0}${offset 5}System${offset 3}Uptime${alignr}${font DroidSans:size=8.3}${uptime_short}${font}
##################################
## PROCESSORS ##
##################################
${voffset 4}${font DroidSans:bold:size=8}${color9}PROCESSORS${offset 8}${color9}${voffset -2}${hr 1}${font}
${voffset 4}${font StyleBats:size=9.9}${color9}k${voffset -2}${font DroidSansFallback:size=8.39}${color0}${offset 2}CPU1${offset 5}${font DroidSans:size=8.3}${alignr}${cpu cpu1}%${font}
${voffset 2}${font StyleBats:size=9.9}${color9}k${voffset -2}${font DroidSansFallback:size=8.39}${color0}${offset 2}CPU2${offset 5}${font DroidSans:size=8.3}${alignr}${cpu cpu2}%${font}
${voffset 2}${font StyleBats:size=9.9}${color9}k${voffset -2}${font DroidSansFallback:size=8.39}${color0}${offset 2}CPU3${offset 5}${font DroidSans:size=8.3}${alignr}${cpu cpu3}%${font}
${voffset 2}${font StyleBats:size=9.9}${color9}k${voffset -2}${font DroidSansFallback:size=8.39}${color0}${offset 2}CPU4${offset 5}${font DroidSans:size=8.3}${alignr}${cpu cpu4}%${font}
##################################
## MEMORY ##
##################################
${voffset 4}${font DroidSans:bold:size=8}${color9}MEMORY${offset 8}${color9}${voffset -2}${hr 1}${font}
${voffset 4}${font StyleBats:size=10}${color9}l${voffset -2}${font DroidSansFallback:size=8.3}${color0}${offset 3}RAM${goto 97}${font DroidSans:size=8.3}${mem}${goto 133}/${offset 5}${memmax}${alignr}${memperc}%${font}
##################################
## HDD ##
##################################
${voffset 15}${font DroidSans:bold:size=8}${color9}HARD DISK DRIVES${offset 8}${color9}${voffset -2}${hr 1}${font}
${voffset 6}${font StyleBats:size=9.9}${color9}x${voffset -2}${font DroidSansFallback:size=8.3}${color0}${offset 4}ROOT${goto 95}${font DroidSans:size=8.3}${fs_used /}${goto 133}/${offset 5}${fs_size /}${alignr}${fs_free_perc /}%${font}
${voffset 15}${font StyleBats:size=9.9}${color9}x${voffset -2}${font DroidSansFallback:size=8.3}${color0}${offset 4}HOME${goto 95}${font DroidSans:size=8.3}${fs_used /home}${goto 133}/${offset 5}${fs_size /home}${alignr}${fs_free_perc /home}%${font}
${voffset 15}${font StyleBats:size=9.9}${color9}x${voffset -2}${font DroidSansFallback:size=8.3}${color0}${offset 4}SWAP${goto 95}${font DroidSans:size=8.3}${swap}${goto 133}/${offset 5}${swapmax}${alignr}${swapperc}%${font}
${voffset 15}${font StyleBats:size=9.9}${color9}x${voffset -2}${font DroidSansFallback:size=8.3}${color0}${offset 4}Torrent ${goto 95}${font DroidSans:size=8.3}${fs_used /media/Torrent}${goto 133}/${offset 5}${fs_size /media/Torrent}${alignr}${fs_free_perc /media/Torrent}%${font}
${voffset 15}${font StyleBats:size=9.9}${color9}x${voffset -2}${font DroidSansFallback:size=8.3}${color0}${offset 4}Multimedia ${goto 95}${font DroidSans:size=8.3}${fs_used /media/Programs-Multimedia}${goto 133}/${offset 5}${fs_size /media/Programs-Multimedia}${alignr}${fs_free_perc /media/Programs-Multimedia}%${font}
##################################
## TOP PROCESSES ##
##################################
${voffset 15}${font DroidSans:bold:size=8}${color9}TOP PROCESSES${offset 8}${color9}${voffset -2}${hr 1}${font}
${voffset 4}${font StyleBats:size=10}${color9}h${voffset -1}${font DroidSans:size=8.65}${color0}${offset 5}${top_mem name 1}${goto 120}${font DroidSans:size=8.3}${top_mem mem_res 1}${alignr}${top_mem mem 1}%${font}
${voffset 1}${font StyleBats:size=10}${color9}h${voffset -1}${font DroidSans:size=8.65}${color0}${offset 5}${top_mem name 2}${goto 120}${font DroidSans:size=8.3}${top_mem mem_res 2}${alignr}${top_mem mem 2}%${font}
${voffset 1}${font StyleBats:size=10}${color9}h${voffset -1}${font DroidSans:size=8.65}${color0}${offset 5}${top_mem name 3}${goto 120}${font DroidSans:size=8.3}${top_mem mem_res 3}${alignr}${top_mem mem 3}%${font}
${voffset 1}${font StyleBats:size=10}${color9}h${voffset -1}${font DroidSans:size=8.65}${color0}${offset 5}${top_mem name 4}${goto 120}${font DroidSans:size=8.3}${top_mem mem_res 4}${alignr}${top_mem mem 4}%${font}
##################################
## NETWORK ##
##################################
${voffset 4}${font DroidSans:bold:size=8}${color9}NETWORK${offset 8}${color9}${voffset -2}${hr 1}${font}
${voffset 4}${font PizzaDudeBullets:size=9.5}${color9}T${font DroidSans:size=8.65}${color0}${offset 5}Download${goto 120}${font DroidSans:size=8.3}${totaldown eth0}${alignr}${font DroidSans:size=8.3}${downspeed eth0}${font}
${voffset 0}${font PizzaDudeBullets:size=9.5}${color9}N${font DroidSans:size=8.65}${color0}${offset 5}Upload${goto 120}${font DroidSans:size=8.3}${totalup eth0}${alignr}${font DroidSans:size=8.3}${upspeed eth0}${font}
${voffset 4}${font StyleBats:size=9.5}${color9}a${font DroidSans:size=8.65}${color0}${offset 5}Private${offset 3}IP${goto 123}${font DroidSansFallback:size=8.3}LAN${alignr -9}${font DroidSans:size=8.3}${addr eth0}${font}
${voffset 0}${font StyleBats:size=9.5}${color9}a${font DroidSans:size=8.65}${color0}${offset 5}Public${offset 7}IP${goto 121}${font DroidSansFallback:size=8.3}WAN${alignr -9}${font DroidSans:size=8.3}${execi 1800 wget -q -O - checkip.dyndns.org | sed -e 's/[^[:digit:]\|.]//g'}${font}
##################################
## TEMPERATURES ##
##################################
${voffset 5}${font DroidSans:bold:size=8}${color9}CPU/GPU TEMPERATURES${offset 8}${color9}${voffset -2}${hr 1}${font}
${voffset 5}${font StyleBats:size=9.5}${color9}k${voffset -2}${font DroidSansFallback:size=8.3}${color0}${offset 2}CPU Core Temp 1: $alignr${execi 10 sensors | grep ^temp2 | awk '{print $2}' | cut -c2-9}
${voffset 5}${font StyleBats:size=9.5}${color9}k${voffset -2}${font DroidSansFallback:size=8.3}${color0}${offset 2}CPU Core Temp 2: $alignr${execi 10 sensors | grep ^temp2 | awk '{print $2}' | cut -c2-9}
${voffset 5}${font StyleBats:size=9.5}${color9}k${voffset -2}${font DroidSansFallback:size=8.3}${color0}${offset 2}CPU Core Temp 3: $alignr${execi 10 sensors | grep ^temp2 | awk '{print $2}' | cut -c2-9}
${voffset 5}${font StyleBats:size=9.5}${color9}k${voffset -2}${font DroidSansFallback:size=8.3}${color0}${offset 2}CPU Core Temp 4: $alignr${execi 10 sensors | grep ^temp2 | awk '{print $2}' | cut -c2-9}
${voffset 4}${font StyleBats:size=9.5}${color9}k${voffset -2}${font DroidSansFallback:size=8.3}${color0}${offset 2}M/B GIGABYTE Temp: $alignr${execi 10 sensors | grep ^temp3 | awk '{print $2}' | cut -c2-9}
${voffset 4}${font StyleBats:size=9.5}${color9}k${voffset -2}${font DroidSansFallback:size=8.3}${color0}${offset 2}GPU Temperature:$alignr${execi 3 sensors radeon-pci-0100 | grep "temp1" | cut -c16-17 ;}°C
${voffset 4}${font StyleBats:size=9.5}${color9}k${voffset -2}${font DroidSansFallback:size=8.3}${color0}${offset 2}Torrent Temp: $alignr${hddtemp}°C
Ναι Σωτήρη,αυτές τις τέσσερις θέλω