From eaf789bb11f57fd00a087e8f7335ff55d931b812 Mon Sep 17 00:00:00 2001 From: Tomasz Kapias Date: Sun, 19 Mar 2023 16:03:06 +0700 Subject: [PATCH] add gitmux.conf --- README.md | 1 + gitmux.conf | 28 ++++++++++++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 gitmux.conf diff --git a/README.md b/README.md index 071587b..c12ca92 100644 --- a/README.md +++ b/README.md @@ -115,6 +115,7 @@ rm -Rf "$HOME"/.tmux/ "$HOME"/.tmux "$HOME"/.config/tmux/ mkdir -p $HOME/.config cd $HOME/.config git clone --depth=1 --recurse-submodules https://git.tkapias.net/tkapias/tmuxrc tmux +cp tmux/gitmux.conf $HOME/.config/ ``` ## Configuration diff --git a/gitmux.conf b/gitmux.conf new file mode 100644 index 0000000..af867f3 --- /dev/null +++ b/gitmux.conf @@ -0,0 +1,28 @@ +tmux: + symbols: + branch: '⎇ ' + hashprefix: ':' + ahead: ↑· + behind: ↓· + staged: '● ' + conflict: '✖ ' + modified: '✚ ' + untracked: '… ' + stashed: '⚑ ' + clean: ✔ + styles: + clear: '#[fg=default]' + 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]' + divergence: '#[fg=default]' + layout: [branch, .., remote-branch, divergence, ' - ', flags] + options: + branch_max_len: 0 + branch_trim: right