2020-03-14 03:19:05 +01:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
# Dracula inspired color scheme for tmux
|
|
|
|
# Author: Dane Williams
|
|
|
|
|
|
|
|
main()
|
|
|
|
{
|
|
|
|
# Dracula Color Palette
|
|
|
|
background_color='#282a36'
|
|
|
|
current_line_color='#44475a'
|
|
|
|
foreground_color='#f8f8f2'
|
|
|
|
comment_color='#6272a4'
|
|
|
|
cyan='#8be9fd'
|
|
|
|
green='#50fa7b'
|
|
|
|
orange='#ffb86c'
|
|
|
|
pink='#ff79c6'
|
|
|
|
purple='#bd93f9'
|
|
|
|
red='#ff5555'
|
|
|
|
yellow='#f1fa8c'
|
|
|
|
|
|
|
|
tmux set-option -g default-terminal "screen-256color"
|
|
|
|
|
2020-03-14 05:17:07 +01:00
|
|
|
# border for panes
|
|
|
|
tmux set-option -g pane-border-style-fg "${comment_color}"
|
|
|
|
tmux set-option -g pane-active-border-style-fg "${pink}"
|
|
|
|
|
|
|
|
# message text
|
|
|
|
tmux set-option -g message-style-bg "${current_line_color}"
|
|
|
|
tmux set-option -g message-style-fg "${cyan}"
|
|
|
|
|
|
|
|
# status line
|
|
|
|
tmux set-option -g status on
|
|
|
|
tmux set-option -g status-style-bg "${current_line_color}"
|
|
|
|
tmux set-option -g status-style-fg "${purple}"
|
|
|
|
tmux set-option -g status-interval 1
|
|
|
|
|
|
|
|
tmux set-option -g status-left "#[bg=${foreground_color}]#[fg=${background_color}]#{?client_prefix,#[bg=${pink}],} ☺"
|
|
|
|
|
|
|
|
tmux set-option -ga status-left "#[bg=${current_line_color}]#[fg=${pink}] #{?window_zoomed_flag, ↕ , }"
|
|
|
|
|
2020-03-14 03:19:05 +01:00
|
|
|
}
|