Tuesday, October 21, 2014

LSD-based Conky for Linux

LSD-molecule based Conky
>> make sure to have a look to how to install and use Conky <<


I used to like Manjaro Openbox edition Conky : 

But, some points were not fitting my needs : 
  • i didn't want that slighlty modified lysergic acid picture with M.A.N.J.A.R.O letters added to it.
  • No need of SWAP and /home use in my case
  • Better need % per CPU and acpitemp.

So, here is the re-worked picture (made to be displayed on dark background) : 

Paste the picture in ~/conky/conkypic/lsd.png (or edit the last line of the script to point where you placed the file)

And here is the reworked .conkyrc content : 
Code:
#Conky widget by m@, based on Manjaro Openbox edition conky
update_interval 1
total_run_times 0
net_avg_samples 1
cpu_avg_samples 1
imlib_cache_size 0
double_buffer yes
no_buffers yes
use_xft yes
xftfont Droid Sans:size=9
override_utf8_locale yes
text_buffer_size 2048
own_window yes
own_window_type desktop
own_window_transparent yes
own_window_hints undecorated,sticky,skip_taskbar,skip_pager
alignment top_right
gap_x 10
gap_y 60
minimum_size 280 0
default_bar_size 30 8
draw_shades no
default_color c5c5c5
default_shade_color 000000
color0 8DBC68
color1 c5c5c5
color2 c5c5c5
own_window_argb_visual yes
own_window_colour 000000
own_window_argb_value 0

TEXT
${goto 180}${color0}${font Droid Sans:style=bold:size=13}${voffset 40}${exec whoami}
${voffset -30}${font Droid Sans:style=Bold:size=12}${color}${goto 40}${uptime}
${goto 80}${color1}${font Droid Sans:style=Bold:size=12}${color1}${sysname}${color}${font}
${voffset 90}${goto 20}${font Droid Sans:style=bold:size=30}${time %H:%M}${font}${goto 175}${font Droid Sans:style=Bold:size=11}T°C
${goto 175}${font Droid Sans:style=Bold:size=11}${color1}${acpitemp}°C
${voffset 40}${goto 35}CPU0-1${color1}${goto 128}CPU2-3
${goto 38}${font Droid Sans:style=Bold:size=10}${cpu cpu0}-${cpu cpu1}%${goto 134}${font Droid Sans:style=Bold:size=11}${cpu cpu2}-${cpu cpu3}%${font Droid Sans:style=Bold:size=11}${color1}${font}
${font Droid Sans:style=Bold:size=11}${font}
${voffset 10}${goto 90}${font Droid Sans:style=Bold:size=11}RAM
${goto 90}${font Droid Sans:style=Bold:size=11}${memperc}%

${image ~/conky/conkypic/lsd.png -p 10,0}

















.
This Conky displays the following : 

  • username
  • system uptime
  • time
  • acpitemp
  • cpu0 to cpu3 % use
  • RAM % use


>>> Dedicated git is now available <<<

No comments:

Post a Comment