I'm using this as my cony script
Code:
# Based on conky-jc and the default .conkyrc.
# INCLUDES:
# - netstat connections to your computer
#
# -- Pengo (conky@pengo.us)
#
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_type normal
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
background no
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# fiddle with window
##use_spacer yes
use_spacer right # yes | no are not options: left | right | none
use_xft yes
# Update interval in seconds
update_interval 3.0
# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0
# Minimum size of text area
minimum_size 300
# Draw shades?
draw_shades yes
# Text stuff
draw_outline no # amplifies text if yes
draw_borders yes
text_buffer_size 1024 ### <--- this
uppercase no # set to yes if you want all text to be in uppercase
# Stippled borders?
stippled_borders 8
# border margins
border_inner_margin 4
border_outer_margin 0
# border width
border_width 3
# Default colors and also border colors, grey90 == #e5e5e5
default_color white
default_shade_color black
default_outline_color white
own_window_colour white
own_window_transparent yes
# Text alignment, other possible values are commented
#alignment top_left
alignment top_middle
#alignment bottom_left
#alignment bottom_right
# Gap between borders of screen and text
gap_x 5
gap_y 5
# stuff after 'TEXT' will be formatted on screen
override_utf8_locale yes
xftfont Terminus:size=8
xftalpha 0.8
# MISC
short_units yes
TEXT
${offset 240}${time %a, } ${time %e %B %G}
${offset 240}${time %Z, }${time %H:%M:%S}
${offset 240}UPTIME: $uptime
${offset 240}DISTRO: ${pre_exec cat /etc/issue.net}
${offset 240}KERNEL: $kernel
${offset 240}ARCH: $machine
${offset 240}CPU1: ${cpu cpu0}% | CPU2: ${cpu cpu1}%
${offset 240}CPU3: ${cpu cpu2}% |
${offset 240}PROCESSES: $processes
${offset 240}${cpugraph 15,130 000000 ffffff}
${offset 240}LOAD: $loadavg
${offset 240}CPU TEMP: ${execi 10 sensors k10temp-pci-00c3 | grep -n 'temp1' | awk -F'+' '{print $2}' | awk -F' ' '{print $1}'}
${offset 240}DRIVE TEMP: ${execi 10 /usr/sbin/hddtemp /dev/sda1 |cut -c36-40}
${offset 240}HIGHEST CPU:
${offset 240} ${top name 1}${top_mem cpu 1}
${offset 240} ${top name 2}${top cpu 2}
${offset 240} ${top name 3}${top cpu 3}
${offset 240} ${top name 4}${top cpu 4}
${offset 240}HIGHEST MEM:
${offset 240} ${top_mem name 1}${top_mem mem 1}
${offset 240} ${top_mem name 2}${top_mem mem 2}
${offset 240} ${top_mem name 3}${top_mem mem 3}
${offset 240} ${top_mem name 4}${top_mem mem 4}
${offset 240}RAM: $memperc% $mem/$memmax
${offset 240}${membar 3,100}
${offset 240}SWAP: $swapperc% $swap/$swapmax
${offset 240}${swapbar 3,100}
${offset 240}ROOT: ${fs_size /}/${fs_free /}
${offset 240}${fs_bar 3,100 /}
${offset 240}${if_existing /media/backup}BACKUP: ${fs_size /media/backup}/${fs_free /media/backup}${else} BACKUP: Not Mounted${endif}
${offset 240}${fs_bar 3,100 /media/backup}
${offset 240}${if_existing /media/8979-95BD}PHONE: ${fs_size /media/8979-95BD}/${fs_free /media/8979-95BD} ${else}PHONE: Not mounted${endif}
${offset 240}${fs_bar 3,100 /media/8979-95BD}
${offset 240}${if_existing /media/truecrypt1}TRUECRYPT: ${fs_size /media/truecrypt1}/${fs_free /media/truecrypt1}${else}TRUECRYPT: Not mounted${endif}
${offset 240}TRASH: ${execi 60 du -sh ~/.local/share/Trash/files/ | awk '{print $1}' | sed '/^4.0K/ d' | sed 's/$/ of TRASH /'}
#${execi 300 du -sh ~/.local/share/Trash/files | awk {'print $1'}}
${offset 240}NET: ${execi 300 curl ifconfig.me;}
${offset 240}Dl: ${downspeed eth0} ${downspeedgraph eth0 4,80 000000 000000}
${offset 240}Ul: ${upspeed eth0} ${upspeedgraph eth0 4,80 000000 000000}
${offset 240}GMAIL: ${execi 300 python ~/.conky/gmail.py}
${offset 240}MPD: $mpd_status
${offset 240}$mpd_artist
${offset 240}$mpd_title
${offset 240}${mpd_bar 5,100}
${offset 240}$mpd_percent % $mpd_elapsed/$mpd_length
${offset 240}APT-GET: ${execi 300 apt-get -s upgrade|grep installed|cut -d' ' -f1} updates ready
${offset 240}TODAY: ${execi 300 vnstat | grep "today" | awk '{print $8 $9}'}
${offset 240}MONTH: ${execi 300 vnstat -m | grep "`date +"%b '%y"`" | awk '{print $9 $10}'}
${offset 240}WEATHER:
${offset 240}${execi 600 ~/.conky/weather2.sh "EUR|UK|me14-1|Maidstone"}
${offset 240}${execibar 45 du -c ~/Dropbox | awk '/total/ {print $1/10485.76/2.0}' }
${offset 240}DROPBOX:${execi 60 du -c ~/Dropbox | awk 'BEGIN/total/{Used=$1/10485.76/Size;printf "Size: %.1f GB",Size;printf " Used:%.0f%",Used;printf " Free: %.0f%\n",100-Used}'}
#Inbound:${tcp_portmon 1 32767 count} Outbound:${tcp_portmon 32768
#61000 count}${alignr}Total: ${tcp_portmon 1 65535 count}
#${tcp_portmon 1 32767 rhost 1} ${alignr} ${tcp_portmon 1 32767 lservice 1}
But there is a 1.5inch space to the left of the script which is totally blank and wasted space, so how do I get rid of it please?
Sharon.
Bookmarks