From 25188ceb1fb9ff1fd3a949cb009ddb5c249e0c58 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sat, 14 Jan 2017 21:51:26 +1100 Subject: [PATCH] Args: Added image shortcut flags --- neofetch | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/neofetch b/neofetch index ddb6b600..f1fe7f86 100755 --- a/neofetch +++ b/neofetch @@ -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" ;;