Args: Added image shortcut flags

This commit is contained in:
Dylan Araps 2017-01-14 21:51:26 +11:00
parent cb68028310
commit 25188ceb1f
1 changed files with 8 additions and 1 deletions

View File

@ -3897,9 +3897,16 @@ get_args() {
"--battery_display") battery_display="$2" ;;
"--disk_display") disk_display="$2" ;;
# Image
# Image backend
"--image_backend") image_backend="$2" ;;
"--image_source") image_source="$2" ;;
"--w3m") image_backend="w3m" ;;
"--iterm2") image_backend="iterm2" ;;
"--tycat") image_backend="tycat" ;;
"--ascii") image_backend="ascii" ;;
"--off") image_backend="off" ;;
# Image options
"--image_size" | "--size") image_size="$2" ;;
"--crop_mode") crop_mode="$2" ;;
"--crop_offset") crop_offset="$2" ;;