From 1385c2840ed93fc13543e7f95069757ac111b9d2 Mon Sep 17 00:00:00 2001 From: Dylan Date: Tue, 23 Feb 2016 17:00:52 +1100 Subject: [PATCH] Remove '*_color' launch options --- README.md | 10 ++-------- config/config | 9 --------- fetch | 26 ++------------------------ 3 files changed, 4 insertions(+), 41 deletions(-) diff --git a/README.md b/README.md index 52639bc6..c205cba9 100644 --- a/README.md +++ b/README.md @@ -252,14 +252,8 @@ alias fetch2="fetch \ --birthday_time on/off Enable/Disable showing the time in birthday output Text Colors: - --text_color_auto on/off When set to 'on' and you're in ascii mode, the text - will be colored according to your distro's ascii logo. - --title_color num Change the color of the title - --at_color num Change the color of "@" in title - --subtitle_color num Change the color of the subtitle - --colon_color num Change the color of the colons - --underline_color num Change the color of the underlines - --info_color num Change the color of the info + --colors x x x x x x Changes the text colors in this order: + title, @, underline, subtitle, colon, info Text Formatting: --underline_char char Character to use when underlineing title diff --git a/config/config b/config/config index 806f1ebe..896333ac 100644 --- a/config/config +++ b/config/config @@ -185,15 +185,6 @@ block_width=3 # colors=(4 6 1 8 8 6) colors=(distro) -# These flags also exist allowing you to change each -# color independently. -# --title_color num -# --at_color num -# --subtitle_color num -# --colon_color num -# --underline_color num -# --info_color num - # }}} diff --git a/fetch b/fetch index 24e03f0f..58e26e69 100755 --- a/fetch +++ b/fetch @@ -203,15 +203,6 @@ block_width=3 # colors=(4 6 1 8 8 6) colors=(distro) -# These flags also exist allowing you to change each -# color independently. -# --title_color num -# --at_color num -# --subtitle_color num -# --colon_color num -# --underline_color num -# --info_color num - # }}} @@ -2239,14 +2230,8 @@ usage () { cat << EOF --birthday_time on/off Enable/Disable showing the time in birthday output Text Colors: - --text_color_auto on/off When set to 'on' and you're in ascii mode, the text - will be colored according to your distro's ascii logo. - --title_color num Change the color of the title - --at_color num Change the color of "@" in title - --subtitle_color num Change the color of the subtitle - --colon_color num Change the color of the colons - --underline_color num Change the color of the underlines - --info_color num Change the color of the info + --colors x x x x x x Changes the text colors in this order: + title, @, underline, subtitle, colon, info Text Formatting: --underline_char char Character to use when underlineing title @@ -2352,13 +2337,6 @@ while [ "$1" ]; do ;; # Text Colors - --text_color_auto) text_color_auto="$2" ;; - --title_color) title_color=$2 ;; - --at_color) at_color=$2 ;; - --subtitle_color) subtitle_color=$2 ;; - --colon_color) colon_color=$2 ;; - --underline_color) underline_color=$2 ;; - --info_color) info_color=$2 ;; --colors) unset colors for arg in "$2" "$3" "$4" "$5" "$6" "$7"; do