--- trunk/dwm-status.pl 2008/01/18 19:10:10 59 +++ trunk/dwm-status.pl 2008/04/03 18:39:38 74 @@ -16,6 +16,7 @@ my $disk_blk_size = 512; my $debug = shift @ARGV; +my $awesome = 1; $|=1; @@ -187,6 +188,11 @@ ); print $out; + if ( $awesome ) { + open(my $fh, '|-', 'awesome-client') || die "can't pipe to awesome-client: $!"; + print $fh "0 widget_tell mystatusbar dwm-status text $out\n"; + close($fh); + } sleep $dt; }