Skip to content

window_status_icon missing from docs #382

Open
@diego898

Description

@diego898

Is there an existing issue outlining your problem?

  • I have searched the existing issues and they do not solve my problem.

Describe your problem.

As far as I can tell, the docs make no mention of @catppuccin_window_status, or how to customzie the icons/turn some off. There's only one mention of it on the readme, in the default example

Paste your configuration.

####################################################
#           TMUX CONFIG
####################################################
set-option -sa terminal-overrides ",xterm*:Tc"
set -g mouse on

# Start windows and panes at 1, not 0
set -g base-index 1
set -g pane-base-index 1
set-window-option -g pane-base-index 1
set-option -g renumber-windows on

# change prefix
unbind C-b
set -g prefix C-Space
bind C-Space send-prefix

# set vi-mode - for more intuitive copying
set-window-option -g mode-keys vi


#########################################
#             Keybindings
#########################################
# Vim style pane selection
bind h select-pane -L
bind j select-pane -D 
bind k select-pane -U
bind l select-pane -R

# Use Alt-arrow keys without prefix key to switch panes
bind -n M-Left select-pane -L
bind -n M-Right select-pane -R
bind -n M-Up select-pane -U
bind -n M-Down select-pane -D

# Shift arrow to switch windows
bind -n S-Left  previous-window
bind -n S-Right next-window

# Cntrl arrow to switch sessions
# - prevents using ctrl+arrows to navigate by words 
#bind -n C-Left switch-client -p
#bind -n C-Right switch-client -n
bind -n S-Up switch-client -p
bind -n S-Down switch-client -n

# vim copy-mode
bind-key -T copy-mode-vi v send-keys -X begin-selection
bind-key -T copy-mode-vi C-v send-keys -X rectangle-toggle
bind-key -T copy-mode-vi y send-keys -X copy-selection-and-cancel

# open panes in same directory
bind '-' split-window -v -c "#{pane_current_path}"
bind '\' split-window -h -c "#{pane_current_path}"


#########################################
#             Theme
#########################################
set -g @catppuccin_flavor 'mocha'

# Config 3 from catppucin-tmux readme: https://github.com/catppuccin/tmux#config-3
set -g @catppuccin_window_status_style "rounded"
set -g @catppuccin_window_number_position "right"

set -g @catppuccin_window_default_fill "number"
set -g @catppuccin_window_default_text "#W"

set -g @catppuccin_window_current_fill "number"
set -g @catppuccin_window_current_text "#W"

set -g @catppuccin_status_left_separator  ""
set -g @catppuccin_status_right_separator ""
set -g @catppuccin_status_fill "icon"
set -g @catppuccin_status_connect_separator "no"

set -g @catppuccin_directory_text "#{b:pane_current_path}" # note: b: is for base directory, d: is the full directory, and ommiting gives full directory

# enable status icons - missing from docs
set -g @catppuccin_window_status "icon"

# set status lin
set -g status-left ""
set -ag status-left "#{E:@catppuccin_status_session}"
set -g status-right ""
set -ag status-right "#{E:@catppuccin_status_user}"

#########################################
#             TPM
#########################################
# automatic tpm installation
# https://github.com/tmux-plugins/tpm/blob/master/docs/automatic_tpm_installation.md
if "test ! -d ~/.tmux/plugins/tpm" \
   "run 'git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm && ~/.tmux/plugins/tpm/bin/install_plugins'"

# plugins
set -g @plugin 'tmux-plugins/tmux-sensible'
#set -g @plugin 'christoomey/vim-tmux-navigator'  # note - makes CTRL+L switch panes and stops clear
set -g @plugin 'tmux-plugins/tmux-yank' 			# copy text using y-key
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum'
set -g @continuum-restore 'on'
set -g @plugin 'omerxx/tmux-sessionx'
set -g @sessionx-zoxide-mode 'on'
set -g @plugin 'omerxx/tmux-floax'
set -g @plugin 'catppuccin/tmux#latest'
set -g @plugin 'tmux-plugins/tpm'

# run tpm
run '~/.tmux/plugins/tpm/tpm'

Attach screenshots.

No response

What tmux version are you seeing the issue on?

tmux 3.5a

Any additional comments?

I used to have

set -g @catppuccin_window_status "icon"
set -g @catppuccin_icon_window_last "null"
set -g @catppuccin_icon_window_current "null"
set -g @catppuccin_icon_window_zoom "󰍉"

but that doesnt seem to work anymore

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions