add nsxiv "image-info" script
This commit is contained in:
parent
9aeea79c45
commit
85cbec1e55
|
@ -0,0 +1,8 @@
|
|||
#!/usr/bin/env perl
|
||||
|
||||
use v5.14;
|
||||
|
||||
my ($path, $width, $height) = @ARGV;
|
||||
my $size = (-s $path) / 1e6;
|
||||
|
||||
print "$path ${size}MB ${width}x$height";
|
Loading…
Reference in New Issue