Created
August 23, 2019 07:17
-
-
Save safeith/b5b841134a970e583708b736dc6f7658 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Powerline Red Block - Tmux Theme | |
# Created by Jim Myhrberg <[email protected]>. | |
# | |
# Inspired by vim-powerline: https://github.com/Lokaltog/powerline | |
# | |
# Requires terminal to be using a powerline compatible font, find one here: | |
# https://github.com/Lokaltog/powerline-fonts | |
# | |
# Enable 256 Color | |
set -g default-terminal "screen-256color" | |
# Move status posotion to top | |
set-option -g status-position top | |
# remap prefix from 'C-b' to 'C-a' | |
unbind C-b | |
set-option -g prefix C-x | |
bind-key C-x send-prefix | |
# Reload configuration | |
bind r source-file ${HOME}/.tmux.conf \; display-message "source-file reloaded" | |
# Change index | |
set -g base-index 1 | |
set -g pane-base-index 1 | |
# Status update interval | |
set -g status-interval 1 | |
# Basic status bar colors | |
set -g status-style fg=colour240,bg=colour233 | |
# Left side of status bar | |
set -g status-left-style bg=colour233,fg=colour243 | |
set -g status-left-length 40 | |
set -g status-left "#[fg=colour16,bg=colour88,bold] #S #[fg=colour88,bg=colour240,nobold]#[fg=colour233,bg=colour240] #(whoami) #[fg=colour240,bg=colour235]#[fg=colour240,bg=colour235] #I:#P #[fg=colour235,bg=colour233,nobold]" | |
# Right side of status bar | |
set -g status-right-style bg=colour233,fg=colour243 | |
set -g status-right-length 150 | |
set -g status-right "#[fg=colour235,bg=colour233]#[fg=colour240,bg=colour235] %H:%M:%S #[fg=colour240,bg=colour235]#[fg=colour233,bg=colour240] %d-%b-%y #[fg=colour245,bg=colour240]#[fg=colour232,bg=colour245,bold] #H " | |
# Window status | |
#set -g window-status-format " #I:#W#F " | |
#set -g window-status-current-format " #I:#W#F " | |
# Window status | |
set -g window-status-format " #I:#W#F " | |
set -g window-status-current-format "#[fg=colour233,bg=black]#[fg=colour160,bold] #I:#W#F #[fg=colour233,bg=black,nobold]" | |
# Current window status | |
set -g window-status-current-style bg=colour124,fg=colour16 | |
# Window with activity status | |
set -g window-status-activity-style bg=colour233,fg=colour88 | |
# Window separator | |
set -g window-status-separator "" | |
# Window status alignment | |
set -g status-justify centre | |
# Pane border | |
set -g pane-border-style bg=default,fg=colour238 | |
# Active pane border | |
set -g pane-active-border-style bg=default,fg=colour88 | |
# Pane number indicator | |
set -g display-panes-colour colour233 | |
set -g display-panes-active-colour colour245 | |
# Clock mode | |
set -g clock-mode-colour colour88 | |
set -g message-style bg=colour24 | |
# Message | |
set -g message-style bg=colour88,fg=black | |
# Command message | |
set -g message-command-style bg=colour88,fg=black | |
# Mode | |
set -g mode-style bg=colour124,fg=colour231 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment