diff options
Diffstat (limited to 'bin/vdf')
-rwxr-xr-x | bin/vdf | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -136,7 +136,7 @@ sub show_df_png { return; } -getopts('a:cg', \%opts); +getopts('a:cfg', \%opts); $alpha = $opts{'a'} // 0; open(my $mounts_fh, '<', '/proc/mounts'); @@ -166,6 +166,10 @@ elsif ($opts{'g'}) { show_df_png(); } +if ($opts{'f'}) { + exec('feh', '/tmp/vdf.png'); +} + __END__ =head1 NAME |