1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 | # ------------------------------------------------------
# file: $HOME/.tmux.conf
# author: Ramon Solis - http://cyb3rpunk.wordpress.com
# modified: June 2011
# vim:fenc=utf-8:nu:ai:si:et:ts=4:sw=4:ft=tmux:
# ------------------------------------------------------
# ---------------
# Binds / Unbinds
# ---------------
unbind C-b
unbind [
unbind %
unbind '"'
new -s gesamt
splitw -h ncmpcpp
splitw -v
bind h split-window -h
bind v split-window -v
bind Escape copy-mode
bind R source-file ~/.tmux.conf
bind / command-prompt "split-window 'exec man %%'"
bind '~' split-window "exec htop"
bind-key k confirm kill-window
bind-key S confirm kill-server
bind-key b set-option status
bind-key a send-prefix
bind-key J resize-pane -D 3
bind-key K resize-pane -U 3
bind-key H resize-pane -L 3
bind-key L resize-pane -R 3
# -----------
# Set Options
# -----------
set -g prefix C-a
set -s escape-time 0
set -g default-terminal "screen-256color"
set -g set-titles on
set -g set-titles-string "tmux:#I #W"
set -g history-limit 5000
set -g base-index 1
set -g bell-action any
set -g display-panes-time 2000
set -g visual-activity on
set -g visual-bell on
set -g visual-content on
setw -g monitor-activity on
setw -g mode-keys vi
setw -g aggressive-resize on
setw -g clock-mode-colour green
setw -g clock-mode-style 24
# -----
# Theme
# -----
setw -g window-status-format " #F#I:#W#F "
setw -g window-status-current-format " #F#I:#W#F "
setw -g window-status-current-bg red
setw -g window-status-current-fg magenta
setw -g window-status-current-attr bright
setw -g window-status-bg white
setw -g window-status-fg black
setw -g window-status-attr bright
setw -g window-status-alert-fg black
setw -g window-status-alert-bg cyan
setw -g window-status-alert-attr bright
set -g message-fg black
set -g message-bg white
set -g message-attr bright
set -g pane-active-border-bg default
set -g pane-active-border-fg red
set -g pane-border-bg default
set -g pane-border-fg default
# ----------
# Status Bar
# ----------
set -g status-bg blue
set -g status-fg default
set -g status-attr bright
set -g status-interval 5
set -g status-justify centre
set -g status-left-length 90
set -g status-right-length 100
set -g status-right ""
set -g status-left ""
set -g status-left '#[fg=magenta]#[bg=default][#H]#[default] #[fg=cyan]#[bg=][#(uname -r | cut -c 1-6)]#[default]'
set -g status-right '#[fg=yellow]#[bg=red][#(uptime | cut -f 1 -d "," | cut -f 4 -d " ")]#[default] #[fg=yellow]#[bg=red]#(amixer get Master | grep "Front Left:" | cut -f 7 -d " ")#[default] #[fg=yellow]#[bg=red][#(acpi -t | cut -f 4 -d " " | tr -d ".0")C]#[default] #[fg=white]#[bg=magenta]%H:%M#[default]'
# --------
# Sessions
# --------
new -n shell zsh
neww -n chat/player irssi
splitw -h -p 65 -t 2 ncmpcpp
neww -n htop htop
selectw -t 2
selectp -t 1
|
x
Notes
No X running in the screenshot.