From: <enl...@li...> - 2001-08-13 20:47:01
|
Enlightenment CVS committal Author : gilbertt Project : misc Module : feh Dir : misc/feh/cam Modified Files: cam Log Message: let cam do geometry =================================================================== RCS file: /cvsroot/enlightenment/misc/feh/cam/cam,v retrieving revision 1.18 retrieving revision 1.19 diff -u -3 -r1.18 -r1.19 --- cam 2001/08/11 23:24:10 1.18 +++ cam 2001/08/13 20:47:00 1.19 @@ -17,6 +17,7 @@ # Options my $help = ''; my $fullscreen = ''; +my $geometry = ''; my $list = ''; my $verbose = ''; my $add = ''; @@ -36,8 +37,9 @@ my %bms = (); GetOptions('help|?|h' => \$help, - 'full-screen|f|giblets-mom|g' => \$fullscreen, + 'full-screen|f|giblets-mom' => \$fullscreen, 'list|l' => \$list, + 'geometry|g' => \$geometry, 'verbose|v' => \$verbose, 'add|a' => \$add, 'keep-images|k|save-pr0n' => \$keep, @@ -59,6 +61,10 @@ $PRE .= " --full-screen --auto-zoom "; } +if ($geometry) { + $PRE .= " --geometry $geometry "; +} + # if requested, add a key/url pair to bookmarks file if ($add) { my $mytitle = ''; @@ -170,6 +176,8 @@ Start feh in full-screen mode (aka -g and --giblets-mom \"viewing\" mode). cam [-k|--keep-images] keys Save each image in the current directory (aka --save-pr0n). + cam [-g|--geometry] xxx + Use window geometry xxx (e.g. 640x480). cam [-v|--verbose] options Start feh in verbose mode (feh -V). cam <-h|-?|--help> |