Compare commits
No commits in common. "d58e51d61afa239fa359d5a23a92d5abac4598b2" and "7e2a5118eca9e4dd04f1eec23408e315b7c78022" have entirely different histories.
d58e51d61a
...
7e2a5118ec
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,2 +0,0 @@
|
||||
*.swp
|
||||
*.retry
|
@ -4,15 +4,9 @@
|
||||
package:
|
||||
name: tmux
|
||||
state: present
|
||||
ignore_errors: true
|
||||
|
||||
- name: Template config file into home folder
|
||||
template:
|
||||
src: tmux.conf.j2
|
||||
dest: ~/.tmux.conf
|
||||
|
||||
- name: Template controller config file to home folder
|
||||
template:
|
||||
src: controller.tmux.conf.j2
|
||||
dest: ~/.controller.tmux.conf
|
||||
|
||||
|
@ -1,39 +0,0 @@
|
||||
# Reload controller config with "r" key
|
||||
unbind t
|
||||
bind t source-file ~/.controller.tmux.conf \; display-message "Controller config reloaded..."
|
||||
|
||||
# No automatic renaming of windows
|
||||
set -g automatic-rename off
|
||||
|
||||
# Enable 256-color terminal
|
||||
set -g default-terminal "screen-256color"
|
||||
|
||||
# Set titles to be informative
|
||||
set set-titles on
|
||||
set set-titles-string "tmux: [#H] [#S] [#W:#D #I:#P]"
|
||||
|
||||
# Change colors on the pane seperators
|
||||
set pane-border-fg colour237
|
||||
set pane-active-border-fg colour27
|
||||
|
||||
# Tweak currently highlighted window ('active')
|
||||
setw window-status-current-fg colour236
|
||||
setw window-status-current-bg colour27
|
||||
setw window-status-current-format " #F[#W] "
|
||||
setw window-status-current-attr none
|
||||
|
||||
# Tweak overview of windows
|
||||
setw window-status-format " #F[#I][#W] "
|
||||
setw window-status-bg colour237
|
||||
setw window-status-fg colour255
|
||||
|
||||
# Tweak status line design
|
||||
set status-bg colour237
|
||||
set status-fg colour27
|
||||
set status-justify centre
|
||||
set status-left " [#H] [#S] "
|
||||
set status-left-length 100
|
||||
set status-right ' [#(curl https://wttr.in/berlin?format=3)] [%Y-%m-%d %H:%M.%S] '
|
||||
# Refresh status bar every second
|
||||
set status-interval 1
|
||||
|
@ -2,39 +2,39 @@
|
||||
bind r source-file ~/.tmux.conf \; display-message "Config reloaded..."
|
||||
|
||||
# No automatic renaming of windows
|
||||
set automatic-rename off
|
||||
set -g automatic-rename off
|
||||
|
||||
# Enable 256-color terminal
|
||||
set default-terminal "screen-256color"
|
||||
set -g default-terminal "screen-256color"
|
||||
|
||||
# Set titles to be informative
|
||||
set set-titles on
|
||||
set set-titles-string "tmux: [#H] [#S] [#W:#D #I:#P]"
|
||||
set -g set-titles on
|
||||
set -g set-titles-string "tmux: [#H] [#S] [#W:#D #I:#P]"
|
||||
|
||||
# Change pane colors
|
||||
set pane-border-fg colour237
|
||||
set pane-active-border-fg colour199
|
||||
# Install tmux-plugin-manager, first run `git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm`
|
||||
#set -g @plugin 'tmux-plugins/tpm'
|
||||
#set -g @plugin 'tmux-plugins/tmux-sensible'
|
||||
|
||||
# Tweak currently active window
|
||||
setw window-status-current-fg colour236
|
||||
setw window-status-current-bg colour199
|
||||
setw window-status-current-format " #F[#W] "
|
||||
setw window-status-current-attr none
|
||||
# Tweak currently highlighted pane
|
||||
setw -g window-status-current-fg colour236
|
||||
setw -g window-status-current-bg colour199
|
||||
setw -g window-status-current-format " #F[#W] "
|
||||
setw -g window-status-current-attr none
|
||||
|
||||
# Tweak display of window overview
|
||||
setw window-status-format " #F[#W][#I] "
|
||||
setw window-status-bg colour237
|
||||
setw window-status-fg colour255
|
||||
# Tweak pane display
|
||||
setw -g window-status-format " #F[#W][#I] "
|
||||
setw -g window-status-bg colour237
|
||||
setw -g window-status-fg colour255
|
||||
|
||||
# Tweak status line design
|
||||
set status-bg colour235
|
||||
set status-fg colour199
|
||||
set status-justify centre
|
||||
set status-left " [#H] [#S] "
|
||||
set status-left-length 100
|
||||
set status-right '[FFKA: #(ip addr show freifunk | grep inet6 | grep -v fe80 | cut -d/ -f1 | cut -d " " -f6)] [%Y-%m-%d %H:%M.%S]'
|
||||
# Refresh status bar every 2s
|
||||
set status-interval 2
|
||||
set -g status-bg colour235
|
||||
set -g status-fg colour199
|
||||
set -g status-justify centre
|
||||
set -g status-left " [#H] [#S] "
|
||||
set -g status-left-length 100
|
||||
set -g status-right '[FFKA: #(ip addr show freifunk | grep inet6 | grep -v fe80 | cut -d/ -f1 | cut -d " " -f6)] [%Y-%m-%d %H:%M.%S]'
|
||||
# Refresh status bar every 5s
|
||||
set -g status-interval 5
|
||||
|
||||
# Initialize tmux-plugin-manager
|
||||
run '~/.tmux/plugins/tpm/tpm'
|
||||
|
Loading…
Reference in New Issue
Block a user