31 lines
609 B
Bash
31 lines
609 B
Bash
# statusbar
|
|
set -g status-position top
|
|
set -g status-style bg="#248378"
|
|
set -g window-active-style bg="#222435"
|
|
set -g pane-active-border fg=yellow
|
|
|
|
# battery
|
|
set-window-option -g status-right "#(acpi -b | grep -m1 -o -P '.{0,2}%') %Y-%m-%d %H:%M "
|
|
|
|
# light
|
|
bind -n F5 run-shell 'light -U 10'
|
|
bind -n F6 run-shell 'light -A 10'
|
|
|
|
bind | split-window -h
|
|
bind - split-window -v
|
|
|
|
bind r source-file ~/.tmux.conf
|
|
|
|
bind -n M-Left select-pane -L
|
|
bind -n M-Right select-pane -R
|
|
bind -n M-Up select-pane -U
|
|
bind -n M-Down select-pane -D
|
|
|
|
unbind C-b
|
|
set-option -g prefix C-a
|
|
bind-key C-a send-prefix
|
|
|
|
set -g mouse on
|
|
|
|
|