Better console colors

This commit is contained in:
lachtan
2023-10-05 10:54:33 +02:00
parent 7787c4a0ac
commit 5ebeea732e
2 changed files with 500 additions and 0 deletions

12
rc/dircolors.sh Normal file
View File

@@ -0,0 +1,12 @@
# Better colors for dark themes
# https://dev.to/fernand0/better-colors-for-ls-in-dark-terminals-3d6
# https://github.com/seebi/dircolors-solarized
COLORS_FILE="$LWS/conf/dircolors.ansi-light"
if [[ -f "$COLORS_FILE" ]]; then
xlog "Loading colors $COLORS_FILE"
eval $(dircolors "$COLORS_FILE")
fi
unset COLORS_FILE