-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
67 lines (47 loc) · 4.34 KB
/
.tmux.conf
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
set-option -g status on
set-option -g status-interval 2
set-option -g status-justify "centre"
set-option -g status-left-length 60
set-option -g status-right-length 100
set -g default-terminal "screen-256color"
set -g status-style "bg=colour235"
#left and right status bars
#Uncomment to enable (Make sure only one is enabled
#Powerline Full
set-option -g status-left "#[fg=colour235, bg=colour148] #S:#I.#P #[fg=colour148, bg=colour33]#[fg=colour235, bg=colour33] #(hostname) #[fg=colour33, bg=colour235]"
set-option -g status-right "#[fg=colour27, bg=colour235]#[fg=colour255, bg=colour27] ⓦ #(dig @resolver1.opendns.com A myip.opendns.com +short -4) ⓛ #(hostname -I | awk '{print $1}') #[fg=colour235, bg=colour27]#[fg=colour33, bg=colour235] ⚙#(~/.tmux-resources/cpu.sh) #[fg=colour33, bg=colour235]#[fg=colour235, bg=colour33] ⚡ #(cat /sys/class/power_supply/BAT1/capacity)% #[fg=colour148, bg=colour33]#[fg=colour235, bg=colour148] #(date +%H:%M) "
#Powerline Full +spinner
#set-option -g status-left "#[fg=colour235, bg=colour148] #S:#I.#P #[fg=colour148, bg=colour33]#[fg=colour235, bg=colour33] #(hostname) #[fg=colour33, bg=colour235]"
#set-option -g status-right "#[fg=colour27, bg=colour235]#[fg=colour255, bg=colour27] ⓦ #(dig @resolver1.opendns.com A myip.opendns.com +short -4) ⓛ #(hostname -I | awk '{print $1}') #[fg=colour235, bg=colour27]#[fg=colour33, bg=colour235] #(~/.tmux-resources/manual-spinner.sh)#(~/.tmux-resources/cpu.sh) #[fg=colour33, bg=colour235]#[fg=colour235, bg=colour33] ⚡ #(cat /sys/class/power_supply/BAT1/capacity)% #[fg=colour148, bg=colour33]#[fg=colour235, bg=colour148] #(date +%H:%M) "
#Powerline Full no battery
#set-option -g status-left "#[fg=colour235, bg=colour148] #S:#I.#P #[fg=colour148, bg=colour33]#[fg=colour235, bg=colour33] #(hostname) #[fg=colour33, bg=colour235]"
#set-option -g status-right "#[fg=colour27, bg=colour235]#[fg=colour255, bg=colour27] ⓦ #(dig @resolver1.opendns.com A myip.opendns.com +short -4) ⓛ #(hostname -I | awk '{print $1}') #[fg=colour235, bg=colour27]#[fg=colour33, bg=colour235] ⚙#(~/.tmux-resources/cpu.sh) #[fg=colour148, bg=colour235]#[fg=colour235, bg=colour148] #(date +%H:%M) "
#Powerline Simple
#set-option -g status-left "#[fg=colour235, bg=colour148] #S:#I.#P #[fg=colour148, bg=colour33]#[fg=colour235, bg=colour33] #(hostname) #[fg=colour33, bg=colour235]"
#set-option -g status-right "#[fg=colour145, bg=colour235]#[fg=colour0, bg=colour145] ⚙#(~/.tmux-resources/cpu.sh) #[fg=colour33, bg=colour145]#[fg=colour235, bg=colour33] ⚡ #(cat /sys/class/power_supply/BAT1/capacity)% #[fg=colour148, bg=colour33]#[fg=colour235, bg=colour148] #(date +%H:%M) "
#Powerline Simple no battery
#set-option -g status-left "#[fg=colour235, bg=colour148] #S:#I.#P #[fg=colour148, bg=colour33]#[fg=colour235, bg=colour33] #(hostname) #[fg=colour33, bg=colour235]"
#set-option -g status-right "#[fg=colour33, bg=colour235]#[fg=colour235, bg=colour33] ⚙#(~/.tmux-resources/cpu.sh) #[fg=colour148, bg=colour33]#[fg=colour235, bg=colour148] #(date +%H:%M) "
#Powerline Simple no battery +spinner
#set-option -g status-left "#[fg=colour235, bg=colour148] #S:#I.#P #[fg=colour148, bg=colour33]#[fg=colour235, bg=colour33] #(hostname) #[fg=colour33, bg=colour235]"
#set-option -g status-right "#[fg=colour33, bg=colour235]#[fg=colour235, bg=colour33] #(~/.tmux-resources/manual-spinner.sh)#(~/.tmux-resources/cpu.sh) #[fg=colour148, bg=colour33]#[fg=colour235, bg=colour148] #(date +%H:%M) "
#Window list Powerline
set-window-option -g window-status-current-format "#[fg=colour235, bg=colour27]#[fg=colour255, bg=colour27] #I #W #[fg=colour27, bg=colour235]"
#Mouse support (e.g. for resizing windows in splitscreen mode)
set -g mouse on
#enable activity alerts
setw -g monitor-activity on
set -g visual-activity on
#In case I ever have more than just two splitscreens at once; Uncomment the following lines!
#bind -n PageUp select-pane -R
#bind -n PageDown select-pane -L
#bind -n M-PageUp select-pane -U
#bind -n M-PageUp select-pane -D
bind -n PageUp select-pane -R
bind -n PageDown select-pane -D
#reload config
bind-key r source-file ~/.tmux.conf
#vim keybinds
set-option -g mode-keys vi
bind-key -T copy-mode-vi 'v' send -X begin-selection
bind-key -T copy-mode-vi 'y' send -X copy-selection-and-cancel