Wednesday, June 5, 2013

Envy Code R Conky


#avoid flicker
double_buffer yes

#own window to run simultanious 2 or more conkys
own_window  yes
own_window_transparent yes
own_window_type override
own_window_hints undecorate,sticky,skip_taskbar,skip_pager 

#borders
draw_borders yes
draw_graph_borders yes
border_width 1
border_margin 3

#shades
draw_shades no

#position
gap_x 0
gap_y 4
alignment bottom_middle

#behaviour
update_interval 1

#colour
default_color 757575
#default_shade_color 000000
own_window_colour 303030
#font
use_xft yes
xftfont Envy Code R:size=10

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

#to prevent window from moving
use_spacer none
minimum_size 1366 0

#mpd
#mpd_host localhost
#mpd_port 6600

TEXT
${alignc} Date: ${color white}${time %d/%m/%y}${color}  Time: ${color white}${time %H:%M:%S}${color}    Kernel: ${color white}$kernel${color}  Uptime: ${color white}${uptime_short}${color}    ${color cc0000}Cpu:${color} ${color white}${cpu}%${color}  Ram: ${color white}${memperc}%${color}  Swap: ${color white}${swapperc}%${color}  Disk: ${color white}${fs_used_perc /}%${color}    ${color 4BA054}Motherboard:${color} ${color white}${execi 2 sensors | grep temp2 | cut -c 15-16}°C${color}  Cpu: ${color white} ${acpitemp}°C${color}  Disk: ${color white} ${hddtemp /dev/sda}°C${color}    ${if_existing /proc/net/route wlan0}Signal: ${color white}${wireless_link_qual wlan0}%${color}  Up: ${color white}${upspeed wlan0} kb/s${color}  Down: ${color white}${downspeed wlan0} kb/s${color}${else}${if_existing /proc/net/route eth0}Up: ${color white}${upspeed eth0} kb/s${color}  Down: ${color white}${downspeed eth0} kb/s${color}${endif}${else}Network Unavailable${endif}${alignc}

To use all the sensors, you must install the following packages:
lm-sensors
eep24c
libglui2c2
libglui-dev
sensord
hddtemp

Or you can install it all of packages on terminal sudo apt-get install lm-sensors eep24c libglui2c2 libglui-dev sensord hddtemp . Wait until installation finish and then run sudo dpkg --reconfigure hddtemp && sudo sensors-detect in the process, all the questions to answer YES


Load disqus comments

0 comments