void- enter the void 🪐 |
git clone git://git.acid.vegas/archlinux.git |
Log | Files | Refs | Archive |
tmux.conf (1323B)
1 # Sessions 2 bind -n C-M-k kill-session 3 bind -n C-M-t command-prompt -p "New session name:" "rename-session '%%'" 4 bind -n C-M-n new-session 5 bind -n C-M-s choose-tree -Z 6 bind -n C-M-Left switch-client -n 7 bind -n C-M-Right switch-client -p 8 9 # Tabs 10 bind -n C-k kill-window 11 bind -n C-n new-window 12 bind -n C-t command-prompt -p "New title:" "rename-window '%%'" 13 bind -n C-Left previous-window 14 bind -n C-Right next-window 15 bind -n C-S-Left swap-window -t -1 \; previous-window 16 bind -n C-S-Right swap-window -t +1 \; next-window 17 18 # Panes 19 bind -n C-Up split-window -h 20 bind -n C-Down split-window -v 21 bind -n C-S-Up select-pane -t :.+ 22 bind -n C-S-Down select-pane -t :.- 23 24 set -g mouse on 25 26 set -g status-interval 3 27 set -g status-style bg=black 28 set -g status-right-length 100 29 set -g status-right "#[fg=yellow]#H#[default] | #[fg=cyan]Disk:#[default] #(df -h | grep '/dev/sda2' | awk '{printf \"%3.0f%\", $5}') | #[fg=cyan]CPU: #[default]#(top -bn1 | grep 'Cpu(s)' | awk '{printf \"%3.0f%\", $2 + $4}') | #[fg=cyan]MEM: #[default]#(free | awk '/^Mem/ {printf \"%3.0f%\", $3/$2 * 100.0}') | %I:%M" 30 31 setw -g window-status-current-style fg=cyan,bg=default 32 setw -g window-status-activity-style fg=yellow,bg=default 33 setw -g window-status-format "#I: #W" 34 setw -g window-status-current-format "#[bold]#I: #W" 35 36 set-option -g detach-on-destroy off