1
0
Fork 0

truecolor is upon us (tmux), so switch back to termite

This commit is contained in:
Von Random 2016-04-28 16:39:05 +03:00
parent 6b6a048cd4
commit 5f2c7293a4
4 changed files with 10 additions and 9 deletions

2
rc.lua
View file

@ -87,7 +87,7 @@ if exists(wallpaper) then
end
-- This is used later as the default terminal and editor to run.
terminal = 'urxvt'
terminal = 'termite'
editor = 'gvim'
editor_cmd = editor

View file

@ -21,6 +21,10 @@ if [[ -z ${fqdn} ]]; then
export fqdn="$(hostname)"
fi
if [[ ${TERM} == "xterm-termite" || -n ${TMUX} ]]; then
export NVIM_TUI_ENABLE_TRUE_COLOR=1
fi
newline="
"
vscripts="${HOME}/vscripts"
@ -108,14 +112,11 @@ alias sup='command svn up'
# }}}
# {{{ common functions
screenoff-disable() { xset -dpms; xset s off; }
screenoff-enable() { xset +dpms; xset s on; }
dotfiles-update() { git --work-tree="${dotfiles}" --git-dir="${dotfiles}/.git" pull; }
if ! is_ksh; then
hide-info() { hide_info=true; }
unhide-info() { unset hide_info; }
fi
@ -126,6 +127,7 @@ tmuxrc() { tmux source-file "${HOME}/.tmux.conf"; tmux display-message "Config r
if [[ -z "${DISPLAY}" ]]; then
x() { exec xinit -- :0 -nolisten tcp vt$XDG_VTNR; }
fi
# }}}
if is_ksh; then # {{{
# {{{ ~ options

View file

@ -44,4 +44,4 @@ color15 = #fdf6e3
[hints]
font = Terminus 9
vim: ft=dosini cms=#%s
# vim: ft=dosini cms=#%s

View file

@ -39,8 +39,7 @@ set -g history-limit "10000"
set -g set-titles "off"
set -g status-left-length "20"
set -g status-right-length "40"
set -g terminal-overrides "rxvt-unicode*:sitm@,ritm@"
set -g terminal-overrides "rxvt-unicode*:sitm@,ritm@,xterm-termite:Tc,xterm-256color:Tc"
set -g default-terminal "screen-256color"
set -g status-position "top"
set -g status-justify "centre"
@ -62,8 +61,8 @@ set -g status-bg "colour7"
set -g message-command-fg "colour8"
set -g message-command-bg "colour11"
setw -g window-status-fg "colour14"
setw -g window-status-activity-bg "colour7"
setw -g window-status-activity-fg "colour10"
#setw -g window-status-activity-bg "colour7"
#setw -g window-status-activity-fg "colour10"
setw -g window-status-bg "colour7"
setw -g window-status-current-format "#[fg=colour8,bg=colour7][#I:#W]#[default]"
set -g status-left "#[fg=colour15,bg=colour11,bold] #h #[fg=colour11,bg=colour14,nobold,nounderscore,noitalics]#[fg=colour7,bg=colour14] #S #[fg=colour14,bg=colour7,nobold,nounderscore,noitalics]#[default]"