Have been using a light foreground color at geany due this issue for a while now. But wanted to use a dark one again. For me at last the 99% problem is that I can't read directory names at ls (at other CLI tools it's barely used).

grafik

As that type-to-color mapping is defined at environment variable LS_COLORS, thought to override that one. Combined with utility to detect if the terminal's parent process is geany the color is overridden there, meaning it only applys to geany terminal. I added this to .bashrc:

[[ `ps -e | grep "$PPID"` == *"geany"* ]] && export LS_COLORS="${LS_COLORS}di=01;32:"

grafik

Sure would be better if geany offers proper terminal color palette configuration, but well works good enough for that case at last.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <geany/geany/issues/2530/1399265046@github.com>