Auteur Sujet: Conky for Bento  (Lu 6065 fois)

0 Membres et 1 Invité sur ce sujet

Hors ligne Taco.22

  • Membre Senior
  • ****
  • Messages: 391
    • Scorpio_Openbox
Conky for Bento
« le: 04 janvier 2018 à 09:56:58 »
I have carried a particular conky script with me across a lot of years and a number of distros.  I run OB without any panels or embellishments, so conky gives me a clock and a look at some of the processes going on, as well as keeping track of the desktops.  Mélodie suggested that I post the current incarnation here as a possible inclusion for Bento.  Bear in mind that sometimes tweaks need to be made, for example the network connection.  It is a basic ".file" hidden in the home folder.  Below is the script and the end product.  Let us know what you think.

# set to yes if you want Conky to be forked in the background
background yes
use_xft yes
xftfont monospace:size=8
xftalpha 0.5
update_interval 1.0
total_run_times 0
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 700 5
maximum_width 300
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes
   
default_color white
default_shade_color red
default_outline_color grey
alignment top_right
gap_x 0
gap_y 14
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale no


TEXT

         
${goto 125}${font arial:size=18}Bento${font}
${goto 113}${font arial:size=15}Openbox${font}
 
${goto 115}${font arial:size=15}${time %H:%M:%S}${font}
${goto 75}${font arial:size=12}${Time %A %d %m %Y}${font}
   
           
${goto 72}${font arial:size=10}CPU                          ${cpu cpu0}%${font}
${goto 72}${cpubar 10,180 cpu0}

${goto 72}${font arial:size=10}MEM                        $memperc%${font}
${goto 72}${membar 10,180}
   
${goto 75}${font arial:size=13}Network${font}  ${font arial:size=11}eth1 ${addr eth1}${font}
${goto 75}${font arial:size=10}Inbound          ${downspeed eth1} kb/s${font}
${goto 75}${downspeedgraph 20,180 0000FF 00FF00 eth0}
${goto 75}${font arial:size=10}Outbound        ${upspeed eth1} kb/s${font}
${goto 75}${upspeedgraph 20,180 FF9900 CC0099 eth0}
   
${goto 120}${font arial:size=14}${if_match ${desktop}==1}${color BD3535}1${else}${color}1${endif} ${if_match ${desktop}==2}${color BD3535}2${else}${color}2${endif} ${if_match ${desktop}==3}${color BD3535}3${else}${color}3${endif} ${if_match ${desktop}==4}${color BD3535}4${else}${color}4${endif} ${if_match ${desktop}==5}${color BD3535}5${else}${color}5${endif} ${if_match ${desktop}==6}${color BD3535}6${else}${color}6${endif}${color}${font}
${goto 95}${font arial:size=12}Current Workspace${font}



What can go wrong !!!

Hors ligne melodie

  • Administrateur
  • Membre Héroïque
  • *****
  • Messages: 1777
    • Citrotux
Re : Conky for Bento
« Réponse #1 le: 06 janvier 2018 à 15:05:30 »
Hi Taco,

was the screenshot taken from a virtual machine ?

Good leaders being scarce, following yourself is allowed.

Hors ligne Taco.22

  • Membre Senior
  • ****
  • Messages: 391
    • Scorpio_Openbox
Re : Conky for Bento
« Réponse #2 le: 06 janvier 2018 à 15:54:16 »
Hi Mélodie,

No, that is cropped from a screenshot of my computer.  I haven't used VBox in ages.  Downloading now to reacquaint myself!
What can go wrong !!!