Light and dark colors
Anirudh Oppiliappan x@icyphox.sh
Fri, 27 Nov 2020 21:16:21 +0530
4 files changed,
58 insertions(+),
29 deletions(-)
M
home/.Xresources
→
home/.Xresources
@@ -6,27 +6,8 @@ ! _ / |/ / / __(__ ) /_/ / /_/ / / / /__/ __(__ )
!(_)_/|_/_/ \___/____/\____/\__,_/_/ \___/\___/____/ ! -*foreground: #676767 -*background: #f4f4f4 -*cursor: #676767 +#include ".colors/gray" -*color0: #f4f4f4 -*color1: #db7070 -*color2: #7c9f4b -*color3: #d69822 -*color4: #6587bf -*color5: #b870ce -*color6: #509c93 -*color7: #676767 - -*color8: #aaaaaa -*color9: #db7070 -*color10: #fafafa -*color11: #cccccc -*color12: #8a8a8a -*color13: #454545 -*color14: #509c93 -*color15: #232323 *.font: SF Mono:style=Regular:size=12:antialias=true *.italicFont: SF Mono:style=Italic:size=12:antialias=true
A
home/.colors/dark
@@ -0,0 +1,21 @@
+*foreground: #f9f9f9 +*background: #222222 +*cursor: #f9f9f9 + +*color0: #f9f9f9 +*color1: #f43f3f +*color2: #aae557 +*color3: #f7b740 +*color4: #84aff4 +*color5: #e398f9 +*color6: #84e7f4 +*color7: #676767 + +*color8: #aaaaaa +*color9: #db7070 +*color10: #fafafa +*color11: #7a7a7a +*color12: #8a8a8a +*color13: #454545 +*color14: #509c93 +*color15: #6d6d6d
A
home/.colors/light
@@ -0,0 +1,21 @@
+*foreground: #676767 +*background: #f4f4f4 +*cursor: #676767 + +*color0: #f4f4f4 +*color1: #db7070 +*color2: #7c9f4b +*color3: #d69822 +*color4: #6587bf +*color5: #b870ce +*color6: #509c93 +*color7: #676767 + +*color8: #aaaaaa +*color9: #db7070 +*color10: #fafafa +*color11: #cccccc +*color12: #8a8a8a +*color13: #454545 +*color14: #509c93 +*color15: #232323
M
home/bin/coltest
→
home/bin/coltest
@@ -10,12 +10,18 @@ CYN="\e[36m"
WHT="\e[37m" RST="\e[0m" -printf '%b\n' " no color " -printf '%b\n' "${BLK} black ${RST} [black]" -printf '%b\n' "${RED} red ${RST} [red]" -printf '%b\n' "${GRN} green ${RST} [green]" -printf '%b\n' "${YLW} yellow ${RST} [yellow]" -printf '%b\n' "${BLU} blue ${RST} [blue]" -printf '%b\n' "${PUR} purple ${RST} [purple]" -printf '%b\n' "${CYN} cyan ${RST} [cyan]" -printf '%b\n' "${WHT} white ${RST} [white]" +# printf '%b\n' " no color " +# printf '%b\n' "${BLK} black ${RST} [black]" +# printf '%b\n' "${RED} red ${RST} [red]" +# printf '%b\n' "${GRN} green ${RST} [green]" +# printf '%b\n' "${YLW} yellow ${RST} [yellow]" +# printf '%b\n' "${BLU} blue ${RST} [blue]" +# printf '%b\n' "${PUR} purple ${RST} [purple]" +# printf '%b\n' "${CYN} cyan ${RST} [cyan]" +# printf '%b\n' "${WHT} white ${RST} [white]" + +for (( i=0; i<7; i++ )); do + printf '\033[4%sm \033[m ' "$i" +done + +printf '\n'