solarize: apply appropriate LS_COLORS
This commit is contained in:
parent
bc307870ff
commit
2a8ca85a3e
1 changed files with 6 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/bin/sh
|
||||||
# Solarize the terminal
|
# Solarize the terminal
|
||||||
|
|
||||||
# Useful terminal control sequences:
|
# Useful terminal control sequences:
|
||||||
|
@ -128,6 +128,11 @@ main() {
|
||||||
tmux set-environment -g BACKGROUND "$BACKGROUND"
|
tmux set-environment -g BACKGROUND "$BACKGROUND"
|
||||||
tmux source-file "$XDG_CONFIG_HOME/tmux/tmux-colors.conf"
|
tmux source-file "$XDG_CONFIG_HOME/tmux/tmux-colors.conf"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
ls_colors="$HOME/.config/dircolors/solarized-$BACKGROUND"
|
||||||
|
if type dircolors >/dev/null 2>&1 && [ -f "$ls_colors" ]; then
|
||||||
|
eval "$(dircolors "$ls_colors")"
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
main
|
main
|
||||||
|
|
Loading…
Add table
Reference in a new issue