diff options
author | Derek Taylor <derek@distrotube.com> | 2022-02-22 15:21:11 -0600 |
---|---|---|
committer | Derek Taylor <derek@distrotube.com> | 2022-02-22 15:21:11 -0600 |
commit | 2a0d7b828ead81ea649175c3f8f56c5e2ec80b41 (patch) | |
tree | 9f5bd4cb4380299df2d77284c145e7768bafbbf7 | |
parent | Making all colorscripts lowercase for consistency. (diff) |
Adding unblacklist function.
-rwxr-xr-x | colorscript.sh | 13 | ||||
-rw-r--r-- | colorscripts/Doom-original-w | 58 | ||||
-rw-r--r-- | colorscripts/Doom-outlined | 58 | ||||
-rw-r--r-- | colorscripts/Kaisen | 63 | ||||
-rw-r--r-- | colorscripts/Xmonad | 64 |
5 files changed, 12 insertions, 244 deletions
diff --git a/colorscript.sh b/colorscript.sh index 3d30375..13f5b35 100755 --- a/colorscript.sh +++ b/colorscript.sh @@ -5,12 +5,16 @@ DIR_COLORSCRIPTS="/opt/shell-color-scripts/colorscripts" if command -v find &>/dev/null; then LS_CMD="$(command -v find) ${DIR_COLORSCRIPTS} -maxdepth 1 -type f" + LS_CMD_B="$(command -v find) ${DIR_COLORSCRIPTS}/blacklisted -maxdepth 1 -type f" else LS_CMD="$(command -v ls) ${DIR_COLORSCRIPTS}" + LS_CMD_B="$(command -v ls) ${DIR_COLORSCRIPTS}/blacklisted" fi list_colorscripts="$($LS_CMD | xargs -I $ basename $ | cut -d ' ' -f 1 | nl)" length_colorscripts="$($LS_CMD | wc -l)" +list_blacklist="$($LS_CMD_B 2>/dev/null | xargs -I $ basename $ | cut -d ' ' -f 1 | nl || "")" +length_blacklist="$($LS_CMD_B 2>/dev/null | wc -l || 0)" fmt_help=" %-20s\t%-54s\n" function _help() { @@ -31,6 +35,11 @@ function _list() { echo "${list_colorscripts}" } +function _list_blacklist() { + echo "There are $length_blacklist blacklisted color scripts:" + echo "${list_blacklist}" +} + function _random() { declare -i random_index=$RANDOM%$length_colorscripts [[ $random_index -eq 0 ]] && random_index=1 @@ -104,6 +113,9 @@ case "$#" in -l | --list | list) _list ;; + -b | --blacklist | blacklist) + _list_blacklist + ;; -r | --random | random) _random ;; @@ -131,4 +143,3 @@ case "$#" in exit 1 ;; esac - diff --git a/colorscripts/Doom-original-w b/colorscripts/Doom-original-w deleted file mode 100644 index dd55234..0000000 --- a/colorscripts/Doom-original-w +++ /dev/null @@ -1,58 +0,0 @@ -#!/bin/sh - -# Author: Ivo -# Source: http://crunchbang.org/forums/viewtopic.php?pid=237794#p237794 -# ANSI Color -- use these variables to easily have different color -# and format output. Make sure to output the reset sequence after -# colors (f = foreground, b = background), and use the 'off' -# feature for anything you turn on. - -initializeANSI() -{ - esc="" - - redf="${esc}[31m"; greenf="${esc}[32m" - yellowf="${esc}[33m" bluef="${esc}[34m"; - cyanf="${esc}[36m"; purplef="${esc}[35m" - - redfbright="${esc}[91m"; greenfbright="${esc}[92m" - yellowfbright="${esc}[93m" bluefbright="${esc}[94m"; - cyanfbright="${esc}[96m"; purplefbright="${esc}[95m" - - boldon="${esc}[1m"; - reset="${esc}[0m" -} - -# note in this first use that switching colors doesn't require a reset -# first - the new color overrides the old one. - -initializeANSI - -cat << EOF - - - -${boldon} ▓ ▓ ▓▓▓ ▓ ▓ ▓▓▓ ▓ ▓ ▓ ▓░ ░░▓ ▓▓ ▓ ▓▓ -${boldon}▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ░▓▓▓░▓▓▓▓▓▓▓▓░▓▒ ░░▓▓▓▓░▓▓▓▓░▓▓▓▓▓▓▓▓░▓▓▓▓░ ▓▓▓▓▓▓▓▓ -${boldon} ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░▓▓▓▓▓▓▓ ▓▓▓▓▓░▓▓ -${boldon} ▓▓▓▓▓▓▓░ ▓▓▓▓▓▓▓▓▓▓▓▓▓░▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░▓ ▓▓▓▓▓▓▓▓ -${boldon} ▓▓▓▓▓▓▒ ▓▓▓▓▒▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓ ▓▓▓▓▓▓░ ▓▓░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░▓ -${boldon} ▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓░▓▓ ▓▓▓▓▓▓░ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ -${boldon} ▓▓▓▓▓▓▓ ▓▓▒▓▓░▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓░ ▓░▓▓▓▓░ ▓▓▓▓▓▓▓▓▒▓▓▓▓▓▓▓▓▓▓▓░░▓▓▓ -${boldon} ▓▓▓▓░▓▓ ▓▓▓░▓▓░▓▓▓▓▓░▓ ▓▓▓▓▓▓▓ ▓▓▓▓▓▓░ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░ -${boldon} ▓▓▓▓▓▓░ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓ ▓▓▓▓▓▓░ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ -${boldon} ▓▓▓▓▓▓░ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓ ▓▓▓▓▓▓░ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░ -${boldon} ▓▓▓▓░▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓ ▓▓▓▓▓▓░ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ -${boldon} ▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓ ▓▓▓▓▓ ▓▓▓▓▓▓░ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ -${boldon} ▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓ ▓▓▓▓▓▓░ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ -${boldon} ▓▓░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░▓░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓░▓▓▓▓▓▓▓ -${boldon} ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░▓ ▓▓▓▓▓▓▓▓▓▓░▓▓▓▓▓ ▓▓▓▓▓▓░▓▓▓▓▓▓▓▓▓ ▓▓▓▓░▓▓ ░▓ ▓▓▓▓▓▓▓ -${boldon} ▓▓▓▓▓▓▓▓▒▓▓▓▓▓▓░ ▓░▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓░▓▓▓ ▓▓▓▓▓▓▓ -${boldon} ▓▓▓▓ ▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓ ▓▓▓▓░▒▓▓▓▓ ▓▓ ▓▓▓░░▓▓ -${boldon} ▓▓▓▓▓▓ ▓▓░ ░▓▓░ ▓▓░▓ ▓▓▓▓▓▓▓ -${boldon} ▓▓▓▓▓▓▓▓ ░▓▓▓▓▓▓ -${boldon} ▓▓▓▓▓ ▓▓▓░░ -${boldon} ░▓▓ ▒▓▓ - -EOF - diff --git a/colorscripts/Doom-outlined b/colorscripts/Doom-outlined deleted file mode 100644 index 61d9392..0000000 --- a/colorscripts/Doom-outlined +++ /dev/null @@ -1,58 +0,0 @@ -#!/bin/sh - -# Author: Ivo -# Source: http://crunchbang.org/forums/viewtopic.php?pid=237794#p237794 -# ANSI Color -- use these variables to easily have different color -# and format output. Make sure to output the reset sequence after -# colors (f = foreground, b = background), and use the 'off' -# feature for anything you turn on. - -initializeANSI() -{ - esc="" - - redf="${esc}[31m"; greenf="${esc}[32m" - yellowf="${esc}[33m" bluef="${esc}[34m"; - cyanf="${esc}[36m"; purplef="${esc}[35m" - - redfbright="${esc}[91m"; greenfbright="${esc}[92m" - yellowfbright="${esc}[93m" bluefbright="${esc}[94m"; - cyanfbright="${esc}[96m"; purplefbright="${esc}[95m" - - boldon="${esc}[1m"; - reset="${esc}[0m" -} - -# note in this first use that switching colors doesn't require a reset -# first - the new color overrides the old one. - -initializeANSI - -cat << EOF - - - -${boldon}${yellowfbright} ▓ ▓ ▓▓▓ ▓ ▓ ▓▓▓ ▓ ▓ ▓ ▓░ ░░▓ ▓▓ ▓ ▓▓ -${boldon}${yellowfbright}▓▓${boldon}${yellowfbright}▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ░▓▓▓░▓▓▓▓▓▓▓▓░▓▒ ░░▓▓▓▓░▓▓▓▓░▓▓▓▓▓▓▓▓░▓▓▓▓░ ▓▓▓▓▓${boldon}${yellowfbright}▓▓▓ -${boldon}${yellowfbright} ▓▓${boldon}${bluefbright}▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░▓▓▓▓▓▓▓ ▓▓▓▓▓░${boldon}${yellowfbright}▓▓ -${boldon}${yellowfbright} ▓▓▓${boldon}${bluefbright}▓▓▓▓░ ▓▓▓▓▓▓▓▓▓▓▓▓▓░▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░▓ ▓▓▓▓▓▓${boldon}${yellowfbright}▓▓ -${boldon}${yellowfbright} ▓▓▓${boldon}${bluefbright}▓▓▓▒ ▓▓▓▓▒▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓ ▓▓▓▓▓▓░ ▓▓░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓${boldon}${yellowfbright}▓░▓ -${boldon}${yellowfbright} ▓▓▓${boldon}${bluefbright}▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓░▓▓ ▓▓▓▓▓▓░ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓${boldon}${yellowfbright}▓▓ -${boldon}${yellowfbright} ▓▓${boldon}${bluefbright}▓▓▓▓▓ ▓▓▒▓▓░▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓░ ▓░▓▓▓▓░ ▓▓▓▓▓▓▓▓▒▓▓▓▓▓▓▓▓▓▓▓░░${boldon}${yellowfbright}▓▓▓ -${boldon}${yellowfbright} ▓▓▓${boldon}${bluefbright}▓░▓▓ ▓▓▓░▓▓░▓▓▓▓▓░▓ ▓▓▓▓▓▓▓ ▓▓▓▓▓▓░ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓${boldon}${yellowfbright}▓▓▓░ -${boldon}${yellowfbright} ▓▓${boldon}${redfbright}▓▓▓▓░ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓ ▓▓▓▓▓▓░ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓${boldon}${yellowfbright}▓▓▓ -${boldon}${yellowfbright} ▓▓▓${boldon}${redfbright}▓▓▓░ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓ ▓▓▓▓▓▓░ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓${boldon}${yellowfbright}▓▓░ -${boldon}${yellowfbright} ▓▓${boldon}${redfbright}▓▓░▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓ ▓▓▓▓▓▓░ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓${boldon}${yellowfbright}▓▓▓ -${boldon}${yellowfbright} ▓▓▓${boldon}${redfbright}▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓ ▓▓▓▓▓ ▓▓▓▓▓▓░ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓${boldon}${yellowfbright}▓▓▓ -${boldon}${yellowfbright} ▓▓▓${boldon}${redfbright}▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓ ▓▓▓▓▓▓${boldon}${redfbright}░ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓${boldon}${yellowfbright}▓▓▓ -${boldon}${yellowfbright} ▓▓${boldon}${redfbright}░▓▓▓▓▓▓▓▓▓▓▓▓▓▓${boldon}${yellowfbright}▓░▓░${boldon}${yellowfbright}${boldon}${redfbright}▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓░▓▓▓▓${boldon}${yellowfbright}▓▓▓ -${boldon}${yellowfbright} ▓▓▓${boldon}${redfbright}▓▓▓▓▓▓▓▓▓▓▓${boldon}${yellowfbright}▓▓░▓ ▓▓${boldon}${redfbright}▓▓▓▓▓▓▓▓░▓▓▓▓▓ ▓▓▓▓▓▓░▓▓▓▓▓▓▓${boldon}${yellowfbright}▓▓ ▓▓▓▓░▓▓ ░▓ ▓${boldon}${redfbright}▓▓▓▓${boldon}${yellowfbright}▓▓ -${boldon}${yellowfbright} ▓▓▓${boldon}${redfbright}▓▓▓▓▓▒▓▓▓${boldon}${yellowfbright}▓▓▓░ ▓░▓${boldon}${redfbright}▓▓▓▓▓▓▓▓${boldon}${yellowfbright}▓▓ ▓▓${boldon}${redfbright}▓▓▓▓▓▓▓▓${boldon}${yellowfbright}▓▓ ▓░▓▓▓ ▓${boldon}${redfbright}▓▓▓▓${boldon}${yellowfbright}▓▓ -${boldon}${yellowfbright} ▓▓▓${boldon}${redfbright}▓ ▓▓▓▓▓${boldon}${yellowfbright}▓▓▓ ▓▓${boldon}${redfbright}▓▓${boldon}${redfbright}▓▓▓${boldon}${yellowfbright}▓▓ ▓▓${boldon}${redfbright}▓▓░▒▓▓${boldon}${yellowfbright}▓▓ ▓▓ ▓${boldon}${redfbright}▓▓░░${boldon}${yellowfbright}▓▓ -${boldon}${yellowfbright} ▓▓▓${boldon}${redfbright}▓▓▓${boldon}${yellowfbright} ▓▓░ ░▓▓░ ▓▓░▓ ▓${boldon}${redfbright}▓▓▓▓▓${boldon}${yellowfbright}▓ -${boldon}${yellowfbright} ▓▓▓${boldon}${redfbright}▓▓▓${boldon}${yellowfbright}▓▓ ░▓${boldon}${redfbright}▓▓▓▓${boldon}${yellowfbright}▓ -${boldon}${yellowfbright} ▓▓${boldon}${redfbright}▓${boldon}${yellowfbright}▓▓ ▓${boldon}${redfbright}▓▓░${boldon}${yellowfbright}░ -${boldon}${yellowfbright} ░▓▓${boldon}${redfbright} ${boldon}${yellowfbright} ▒▓${boldon}${redfbright}${boldon}${yellowfbright}▓ - -EOF - diff --git a/colorscripts/Kaisen b/colorscripts/Kaisen deleted file mode 100644 index 7a27eab..0000000 --- a/colorscripts/Kaisen +++ /dev/null @@ -1,63 +0,0 @@ -#!/bin/sh - -# Author: Ivo -# Source: http://crunchbang.org/forums/viewtopic.php?pid=237794#p237794 -# ANSI Color -- use these variables to easily have different color -# and format output. Make sure to output the reset sequence after -# colors (f = foreground, b = background), and use the 'off' -# feature for anything you turn on. - -initializeANSI() -{ - esc="" - - redf="${esc}[31m"; greenf="${esc}[32m" - yellowf="${esc}[33m" bluef="${esc}[34m"; - cyanf="${esc}[36m"; purplef="${esc}[35m" - - redfbright="${esc}[91m"; greenfbright="${esc}[92m" - yellowfbright="${esc}[93m" bluefbright="${esc}[94m"; - cyanfbright="${esc}[96m"; purplefbright="${esc}[95m" - - boldon="${esc}[1m"; - reset="${esc}[0m" -} - -# note in this first use that switching colors doesn't require a reset -# first - the new color overrides the old one. - -initializeANSI - -cat << EOF - -${boldon}${redfbright} ░▓▓ -${boldon}${redfbright} ▓▓▓▓▓▓▓▓▓ -${boldon}${redfbright} ▓░ ▓▓▓▓▓▓▓▓▓▓▓ -${boldon}${redfbright} ▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓ -${boldon}${redfbright} ▓ ▓▓▓ ▓▒ ░▓▓▓▓▓ -${boldon}${redfbright} ▒▓▓ ▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒ -${boldon}${redfbright} ▓▓▓ ▓▓▓▓▓ ▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ -${boldon}${redfbright} ▓▓▓▓▒▓▓▓▓▓ ▓▓▓▓▒ ▓▓░ ▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ -${boldon}${redfbright} ▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▒▓▓▓▓▓▓▓▓▓▓▓ -${boldon}${redfbright} ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ░▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ -${boldon}${redfbright} ▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓ ▓ -${boldon}${redfbright} ▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▒▓▓▓▓▓▓▓▓▓▓▓ -${boldon}${redfbright} ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ░▓▓▓▓▓▓▓▓▓▓▓ -${boldon}${redfbright} ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓ -${boldon}${redfbright} ▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓ -${boldon}${redfbright} ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░ ▓▓▓▓▓▓▓▓▓▒ ▓▓▓▓▓▓▓▓▓▓▓▓ -${boldon}${redfbright} ▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓ ░▓▓▓▓▓▓▓▓▓▓▓ -${boldon}${redfbright} ▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓░ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ -${boldon}${redfbright} ▓▓▓▓▓ ▓▓ ▒ ▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒ -${boldon}${redfbright} ▓▓▓ ▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ -${boldon}${redfbright} ▓▓▓▓▓▓▓ ▒▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓ -${boldon}${redfbright} ▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓ -${boldon}${redfbright} ▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓ -${boldon}${redfbright} ▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ -${boldon}${redfbright} ░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ - - - - -EOF - diff --git a/colorscripts/Xmonad b/colorscripts/Xmonad deleted file mode 100644 index 7949268..0000000 --- a/colorscripts/Xmonad +++ /dev/null @@ -1,64 +0,0 @@ -#!/bin/sh - -# Author: Ivo -# Source: http://crunchbang.org/forums/viewtopic.php?pid=237794#p237794 -# ANSI Color -- use these variables to easily have different color -# and format output. Make sure to output the reset sequence after -# colors (f = foreground, b = background), and use the 'off' -# feature for anything you turn on. - -initializeANSI() -{ - esc="" - - redf="${esc}[31m"; greenf="${esc}[32m" - yellowf="${esc}[33m" bluef="${esc}[34m"; - cyanf="${esc}[36m"; purplef="${esc}[35m" - - redfbright="${esc}[91m"; greenfbright="${esc}[92m" - yellowfbright="${esc}[93m" bluefbright="${esc}[94m"; - cyanfbright="${esc}[96m"; purplefbright="${esc}[95m" - - boldon="${esc}[1m"; - reset="${esc}[0m" -} - -# note in this first use that switching colors doesn't require a reset -# first - the new color overrides the old one. - -initializeANSI - -cat << EOF - -▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ -▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ - ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▒▓▓▓▓▓▓▓▓▓▓▓ - ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▒▓▓▓▓▓▓▓▓▓▓▓ - ░▓▓▓▓▓▓▓▓▓▓▓ ▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░ - ░▓▓▓▓▓▓▓▓▓▓▓ ▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░ - ░▓▓▓▓▓▓▓▓▓▓▓▒▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒▒▒▒ - ░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ - ▓▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓▓░░░▒▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ - ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒ ▓▓▓▓▓▓▓▓▓▓▓▓▓ ░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ - ▓▓▓▓▓▓▓▓▓▓▓▓▒ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ - ▓▓▓▓▓▓▓▓▓▓▓▓▒ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ - ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ - ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ - ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ - ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ - ▓▓▓▓▓▓▓▓▓▓▓▓░▓▓▓▒▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒▒▒▒ ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ - ▓▓▓▓▓▓▓▓▓▓▓▓▒ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ - ░░░░▓▓▓▓▓▓▓▓▓▓▓▓▒ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░▒▒▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ - ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ - ░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ░▓▓▓▓▓▓▓▓▓▓▓░ - ░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ░▓▓▓▓▓▓▓▓▓▓▓░ - ░▓▓▓▓▓▓▓▓▓▓▓ ▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░ ░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ - ░▓▓▓▓▓▓▓▓▓▓▓ ▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░ ░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ - ▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▒▓▓▓▓▓▓▓▓▓▓▓░░░░ ░░░░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒ - ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▒▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒ -▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒ -▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▒ -▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ ▒▒▒▒▒▒▒▒▒▒▒▒▓ - -EOF - |