Skip to content

Commit 4a31c66

Browse files
committed
tmux color
1 parent b10f562 commit 4a31c66

File tree

3 files changed

+29
-14
lines changed

3 files changed

+29
-14
lines changed

iOS/dotfiles/tmux/.gitmux.conf

+26-13
Original file line numberDiff line numberDiff line change
@@ -31,19 +31,32 @@ tmux:
3131
# of Git status elements. See the STYLES section of tmux man page.
3232
# https://man7.org/linux/man-pages/man1/tmux.1.html#STYLES.
3333
styles:
34-
clear: '#[fg=#{@thm_fg}]'
35-
state: '#[fg=#{@thm_red},bold]'
36-
branch: '#[fg=#{@thm_fg},bold]'
37-
remote: '#[fg=#{@thm_teal}]'
38-
divergence: '#[fg=#{@thm_fg}]'
39-
staged: '#[fg=#{@thm_green},bold]'
40-
conflict: '#[fg=#{@thm_red},bold]'
41-
modified: '#[fg=#{@thm_yellow},bold]'
42-
untracked: '#[fg=#{@thm_mauve},bold]'
43-
stashed: '#[fg=#{@thm_blue},bold]'
44-
clean: '#[fg=#{@thm_rosewater},bold]'
45-
insertions: '#[fg=#{@thm_green}]'
46-
deletions: '#[fg=#{@thm_red}]'
34+
# Clear previous style.
35+
clear: "#[none]"
36+
# Special tree state strings such as [rebase], [merge], etc.
37+
state: "#[fg=#ff3399,bold]"
38+
# Local branch name
39+
branch: "#[fg=#ffffff,bold]"
40+
# Remote branch name
41+
remote: "#[fg=#00e6e6]"
42+
# 'divergence' counts
43+
divergence: "#[fg=#08bdba]"
44+
# 'staged' count
45+
staged: "#[fg=#46c880,bold]"
46+
# 'conflicts' count
47+
conflict: "#[fg=#ff3399,bold]"
48+
# 'modified' count
49+
modified: "#[fg=#ff3399,bold]"
50+
# 'untracked' count
51+
untracked: "#[fg=#be95ff,bold]"
52+
# 'stash' count
53+
stashed: "#[fg=#00e6e6,bold]"
54+
# 'insertions' count
55+
insertions: "#[fg=#46c880]"
56+
# 'deletions' count
57+
deletions: "#[fg=#ff3399]"
58+
# 'clean' symbol
59+
clean: "#[fg=#46c880,bold]"
4760

4861
# The layout section defines what components gitmux shows and the order in
4962
# which they appear on tmux status bar.

iOS/dotfiles/tmux/.tmux.conf

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ set -ogq @thm_black "#000000"
6969
set -ogq @thm_white "#ffffff"
7070
set -g status-left "#{E:@catppuccin_status_session}"
7171
set -g @catppuccin_session_icon ""
72-
set -g @catppuccin_session_color "#{?client_prefix,#{E:@thm_black},#{E:@thm_white}}"
72+
set -g @catppuccin_session_color "#{?client_prefix,#000000,#ffffff}"
7373
set -g status-right "#{E:@catppuccin_status_gitmux} CPU: #{cpu_percentage} RAM: #{ram_percentage} #{E:@catppuccin_status_date_time}"
7474
set -g @catppuccin_gitmux_text "#(gitmux -cfg $HOME/.gitmux.conf \"#{pane_current_path}\")"
7575
set -g @catppuccin_gitmux_color "#00ffff"

iOS/tasks/tmux.yml

+2
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,5 @@
1313
tags:
1414
- install
1515
- tmux
16+
- name: Install Tmux Catppuchin
17+
shell: "mkdir -p ~/.config/tmux/plugins/catppuccin\ngit clone -b v2.1.0 https://github.com/catppuccin/tmux.git ~/.config/tmux/plugins/catppuccin/tmux\n"

0 commit comments

Comments
 (0)