diff options
author | Daniel Friesel <derf@finalrewind.org> | 2010-12-25 14:52:30 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2010-12-25 14:52:30 +0100 |
commit | a004cce37bd18272b236fafc250367325dd15556 (patch) | |
tree | caa59af8f119dde679f8e3058b7d9d56293833f9 /bin/vzds | |
parent | f49442f6f40808ab7c4e4b161beda8e76cc9a1e1 (diff) |
vdf/vzds: Add -f option (show graphical output with feh)
Diffstat (limited to 'bin/vzds')
-rwxr-xr-x | bin/vzds | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -13,7 +13,7 @@ use Term::ANSIColor; my %opts; -getopts('a:cgt:', \%opts); +getopts('a:cfgt:', \%opts); my $count = shift // 5; @@ -123,3 +123,7 @@ if ($opts{'g'}) { print $out_fh $im->png(); close($out_fh); } + +if ($opts{'f'}) { + exec('feh', '/tmp/vzds.png'); +} |