From b044667740123a231b732a5bf0afa82932336d65 Mon Sep 17 00:00:00 2001 From: Daniel Lundin Date: Wed, 9 Aug 2017 15:10:11 +0200 Subject: [PATCH] Color tweaking --- .config/nvim/init.vim | 2 ++ .config/powerline/themes/shell/__main__.json | 5 +++++ .tmux.conf | 2 +- .xinitrc | 2 +- 4 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index a5ac413..df8a3dc 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -444,6 +444,8 @@ let g:jellybeans_overrides = { let $NVIM_TUI_ENABLE_TRUE_COLOR=1 set termguicolors +let &t_8f = "[38;2;%lu;%lu;%lum" +let &t_8b = "[48;2;%lu;%lu;%lum" " let base16colorspace=256 " color dln-light diff --git a/.config/powerline/themes/shell/__main__.json b/.config/powerline/themes/shell/__main__.json index 4d39558..acfa497 100644 --- a/.config/powerline/themes/shell/__main__.json +++ b/.config/powerline/themes/shell/__main__.json @@ -1,5 +1,10 @@ { "segment_data": { + "user": { + "args": { + "only_if_ssh": true + } + }, "hostname": { "args": { "only_if_ssh": true diff --git a/.tmux.conf b/.tmux.conf index dacad25..15150a4 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -8,7 +8,7 @@ set -g status-interval 60 set -g terminal-overrides "xterm*:XT:smcup@:rmcup@:kUP5=\eOA:kDN5=\eOB:kLFT5=\eOD:kRIT5=\eOC" set -g terminal-overrides ",*:colors=256:smso=\e[3m:rmso=\e[23m:sitm=\e[3m:ritm=\e[23m" set -g terminal-overrides ",xterm-256color:Tc" -set -g terminal-overrides ",st-256color:Tc" +set -ga terminal-overrides ",st-256color:Tc" set -g default-terminal "st-256color" set-option -g mouse diff --git a/.xinitrc b/.xinitrc index 601e8ef..c626133 100755 --- a/.xinitrc +++ b/.xinitrc @@ -7,7 +7,7 @@ if [ -d /etc/X11/xinit/xinitrc.d ] ; then fi . $HOME/.bashrc -xsetroot -solid \#668899 +xsetroot -solid \#78909C xmodmap $HOME/.Xmodmap feh --bg-fill $HOME/Images/desktop.jpg || true setxkbmap -option ctrl:nocaps,grp:switch,grp_led:scroll us,se