Browse Source

Replace tmux-gitbar with Gitmux

remotes/origin/headless
Shaun Reed 2 years ago
parent
commit
799551e7d0
  1. 1
      .config/.brightness
  2. 1
      .gitignore
  3. 4
      .gitmodules
  4. 22
      .gitmux.conf
  5. 1
      .tmux-gitbar
  6. 9
      .tmux.conf

1
.config/.brightness

@ -1 +0,0 @@ @@ -1 +0,0 @@
9.395801

1
.gitignore vendored

@ -9,6 +9,7 @@ @@ -9,6 +9,7 @@
.config/Code/User/Workspaces/*
.config/Code/rapid_render.json
.config/Code/Network*
**/.config/.brightness
# Byte-compiled / optimized / DLL files
*__pycache__/

4
.gitmodules vendored

@ -25,6 +25,4 @@ @@ -25,6 +25,4 @@
[submodule ".tmux/plugins/tpm"]
path = .tmux/plugins/tpm
url = https://github.com/tmux-plugins/tpm
[submodule ".tmux-gitbar"]
path = .tmux-gitbar
url = https://github.com/arl/tmux-gitbar

22
.gitmux.conf

@ -0,0 +1,22 @@ @@ -0,0 +1,22 @@
tmux:
symbols:
branch: '⎇ '
hashprefix: ':'
ahead: ↑·
behind: ↓·
staged: ●
conflict: '✖ '
modified: '✚ '
untracked: …
stashed: '⚑ '
clean: ✔
styles:
state: '#[fg=red,bold]'
branch: '#[fg=white,bold]'
remote: '#[fg=cyan]'
staged: '#[fg=green,bold]'
conflict: '#[fg=red,bold]'
modified: '#[fg=red,bold]'
untracked: '#[fg=magenta,bold]'
stashed: '#[fg=cyan,bold]'
clean: '#[fg=green,bold]'

1
.tmux-gitbar

@ -1 +0,0 @@ @@ -1 +0,0 @@
Subproject commit 6266946f530a0873919c6b6f56f60712e612f11f

9
.tmux.conf

@ -53,7 +53,8 @@ set -g status-right-length 150 @@ -53,7 +53,8 @@ set -g status-right-length 150
# Note: Powerline font requires alternate of bold on right side
# Corrects gap on right of character that reveals BG color
#+ Font: Powerline Consolas
set -g status-right "#[fg=colour235,bg=colour233,bold]#[fg=colour240,bg=colour235,nobold] %H:%M:%S #[fg=colour240,bg=colour235,bold]#[fg=colour233,bg=colour240,nobold] %d-%b-%y #[fg=colour100,bg=colour240,bold]#[fg=colour233,bg=colour100,bold] #H "
#set -g status-right "#[fg=colour235,bg=colour233,bold]#[fg=colour240,bg=colour235,nobold] %H:%M:%S #[fg=colour240,bg=colour235,bold]#[fg=colour233,bg=colour240,nobold] %d-%b-%y #[fg=colour100,bg=colour240,bold]#[fg=colour233,bg=colour100,bold] #H "
set -g status-right "#[fg=colour235,bg=colour233,bold]#[fg=colour240,bg=colour235,nobold] %H:%M:%S #[fg=colour240,bg=colour235,bold]#[fg=colour233,bg=colour240,nobold] %d-%b-%y #[fg=colour100,bg=colour240,bold]#[fg=colour233,bg=colour100,bold] #(/home/kapper/go/bin/gitux #{pane_current_path}) "
# Simple Git
#set -g status-right "#[fg=colour235,bg=colour233] #{simple_git_status} #[fg=colour240,bg=colour235] %H:%M:%S #[fg=colour240,bg=colour235]#[fg=colour233,bg=colour240] %d-%b-%y #[fg=colour100,bg=colour240]#[fg=colour233,bg=colour100,bold] #H "
@ -62,14 +63,14 @@ set -g status-right "#[fg=colour235,bg=colour233,bold]#[fg=colour240,bg=colo @@ -62,14 +63,14 @@ set -g status-right "#[fg=colour235,bg=colour233,bold]#[fg=colour240,bg=colo
#set -g status-right "#[fg=colour208,bg=colour233]#[fg=colour235,bg=colour208] #{git_upstream} #{git_branch} #[fg=colour240,bg=colour235] %H:%M:%S #[fg=colour240,bg=colour235]#[fg=colour233,bg=colour240] %d-%b-%y #[fg=colour100,bg=colour240]#[fg=colour233,bg=colour100,bold] #H "
# Window status
set -g window-status-format ""
set -g window-status-format '#(/home/kapper/go/bin/gitmux #{pane_current_path})'
# set -g window-status-format " #I:#W#F (TMUX OTHER STATUS) #(pwd | sed -e "s|.*/\(.*/.*\)|\1|") "
set -g window-status-current-format ""
set -g window-status-current-format '#(/home/kapper/go/bin/gitmux #{pane_current_path})'
#set -g window-status-current-format "#[fg=colour255,bg=colour233]#[fg=colour100,nobold] #(whoami)@#H #[fg=colour255,bg=colour233,nobold]"
# #{pane_current_path}
# Current window status
set -g window-status-current-style bg=colour100,fg=colour235
set -g window-status-current-style bg=colour233,fg=colour100
# Window with activity status
set -g window-status-activity-style bg=colour233,fg=colour245

Loading…
Cancel
Save