commit 4d386b432383878ed8c73f3b04fd36a4b1b24bf5
parent e96a18514fdc026e116c3e62bcf95a101b7854ba
Author: Sven Möller <sven@svenmoeller.xyz>
Date: Sun, 29 May 2022 12:27:46 +0200
Colors
Diffstat:
2 files changed, 21 insertions(+), 1 deletion(-)
diff --git a/bash/.bashrc b/bash/.bashrc
@@ -27,7 +27,25 @@ alias w3m="w3m -B"
alias search="surfraw search"
alias t="todo.sh"
-if [ -z $DISPLAY ]; then
+if [ "$TERM" = "linux" ]; then
+ echo -en "\e]P0222222" #black -> this is the background color as well.
+ echo -en "\e]P1803232" #darkred
+ echo -en "\e]P25b762f" #darkgreen
+ echo -en "\e]P3aa9943" #brown
+ echo -en "\e]P4324c80" #darkblue
+ echo -en "\e]P5706c9a" #darkmagenta
+ echo -en "\e]P692b19e" #darkcyan
+ echo -en "\e]P7ffffff" #lightgray
+ echo -en "\e]P8222222" #darkgray
+ echo -en "\e]P9982b2b" #red
+ echo -en "\e]PA89b83f" #green
+ echo -en "\e]PBefef60" #yellow
+ echo -en "\e]PC2b4f98" #blue
+ echo -en "\e]PD826ab1" #magenta
+ echo -en "\e]PEa1cdcd" #cyan
+ echo -en "\e]PFdedede" #white -> this is the foreground color as well.
+ clear #repaint the whole background with the new color
+
export BROWSER="w3m"
export DOCVIEWER="jfbview --zoom_to_fit"
export PICVIEWER="mpv --loop-file=inf --really-quiet"
diff --git a/nvim/.config/nvim/init.vim b/nvim/.config/nvim/init.vim
@@ -10,3 +10,5 @@ set number
set list listchars=tab:>-,lead:.,trail:.,space:.
set copyindent
set colorcolumn=80
+
+highlight Visual ctermbg=7 ctermfg=0