Update many things and add new colorscheme, termite config, tilda config, Xresource, etc...
This commit is contained in:
@ -1,6 +1,9 @@
|
||||
|
||||
# tmux display things in 256 colors
|
||||
set -g default-terminal "screen-256color"
|
||||
set -g default-terminal "tmux"
|
||||
|
||||
# set terminfo for termite
|
||||
set -ga terminal-overrides ",xterm-termite:Tc"
|
||||
|
||||
# set new history limit
|
||||
set -g history-limit 30000
|
||||
@ -89,8 +92,8 @@ unbind [
|
||||
bind Escape copy-mode
|
||||
unbind p
|
||||
bind p paste-buffer
|
||||
bind -t vi-copy 'v' begin-selection
|
||||
bind -t vi-copy 'y' copy-selection
|
||||
#bind -t vi-copy 'v' begin-selection
|
||||
#bind -t vi-copy 'y' copy-selection
|
||||
|
||||
##############################
|
||||
### Color & Style Settings ###
|
||||
@ -102,6 +105,8 @@ source ~/.tmux/theme.sh
|
||||
##############################
|
||||
### Plugins ###
|
||||
##############################
|
||||
# <prefix + I> Install
|
||||
# <prefix + U> Update
|
||||
|
||||
# List of plugins
|
||||
set -g @plugin 'tmux-plugins/tpm'
|
||||
|
60
rc/tmux/tmux/theme.sh
Normal file
60
rc/tmux/tmux/theme.sh
Normal file
@ -0,0 +1,60 @@
|
||||
#### COLOUR
|
||||
|
||||
tm_icon="☀"
|
||||
tm_color_active=colour32
|
||||
tm_color_inactive=colour59
|
||||
tm_color_feature=colour25
|
||||
tm_color_music=colour25
|
||||
tm_active_border_color=colour25
|
||||
|
||||
# separators
|
||||
tm_separator_left_bold="◀"
|
||||
tm_separator_left_thin="❮"
|
||||
tm_separator_right_bold="▶"
|
||||
tm_separator_right_thin="❯"
|
||||
|
||||
set -g status-left-length 32
|
||||
set -g status-right-length 150
|
||||
set -g status-interval 5
|
||||
|
||||
|
||||
# default statusbar colors
|
||||
# set-option -g status-bg colour0
|
||||
set-option -g status-fg $tm_color_active
|
||||
set-option -g status-bg default
|
||||
set-option -g status-attr default
|
||||
|
||||
# default window title colors
|
||||
set-window-option -g window-status-fg $tm_color_inactive
|
||||
set-window-option -g window-status-bg default
|
||||
set -g window-status-format "#I #W"
|
||||
|
||||
# active window title colors
|
||||
set-window-option -g window-status-current-fg $tm_color_active
|
||||
set-window-option -g window-status-current-bg default
|
||||
set-window-option -g window-status-current-format "#[bold]#I #W"
|
||||
|
||||
# pane border
|
||||
set-option -g pane-border-fg $tm_color_inactive
|
||||
set-option -g pane-active-border-fg $tm_active_border_color
|
||||
|
||||
# message text
|
||||
set-option -g message-bg default
|
||||
set-option -g message-fg $tm_color_active
|
||||
|
||||
# pane number display
|
||||
set-option -g display-panes-active-colour $tm_color_active
|
||||
set-option -g display-panes-colour $tm_color_inactive
|
||||
|
||||
# clock
|
||||
set-window-option -g clock-mode-colour $tm_color_active
|
||||
|
||||
tm_tunes="#[fg=$tm_color_music]#(~/.dotfiles/scripts/tunes.sh)"
|
||||
tm_battery="#(~/.dotfiles/scripts/battery.sh)"
|
||||
|
||||
tm_date="#[fg=$tm_color_inactive] %R %d-%m"
|
||||
tm_host="#[fg=$tm_color_feature,bold]#h"
|
||||
tm_session_name="#[fg=$tm_color_feature,bold]$tm_icon #S"
|
||||
|
||||
set -g status-left '#{prefix_highlight}'$tm_session_name' '
|
||||
set -g status-right "$tm_tunes$tm_battery |$tm_date $tm_host"
|
Reference in New Issue
Block a user