wlourf on DeviantArthttps://www.deviantart.com/wlourf/art/Bargraph-widget-for-Conky-2-171334092wlourf

Deviation Actions

wlourf's avatar

Bargraph widget for Conky 2

By
Published:
8.9K Views

Description

this is an update of my bargraph widget : version 2.0 (I added some effects like reflection) and is more easy to setup : it use a table ...
archive contains a readme
© 2010 - 2024 wlourf
Comments8
Join the community to add your comment. Already a deviant? Log In
akovia's avatar
Fantastic set of bar graphs!
Was wondering if it was possible to incorporate a bash script for mounted drives so it would stack the bars automatically for drives that are mounted.
ie..

#!/bin/bash
cat /proc/mounts |  awk '{
  if ( $1 ~ /\/dev/ )
  {
     num_elem = split($2,str_array,"/")
     if (str_array[num_elem] == "")
     {
        str_array[num_elem] = "/";
     }
     printf " ${color #98c2c7}%9.9s:$color  ${fs_used %s} ${goto 130} ${fs_free %s} ${goto 190} ${color #78af78}${fs_bar 6 %s}\n", str_array[num_elem], $2, $2, $2
  }
}'