Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Issue #345 - clarifying steps for status modules #366

Merged
merged 3 commits into from
Oct 9, 2024

Conversation

jeffcap1
Copy link
Contributor

@jeffcap1 jeffcap1 commented Oct 8, 2024

Description

Adds some additional clarity for what is required when setting the status modules.

Based on the discussion in Issue #345.

README.md Outdated Show resolved Hide resolved
status/README.md Outdated Show resolved Hide resolved
status/README.md Outdated Show resolved Hide resolved
status/README.md Outdated Show resolved Hide resolved
status/README.md Outdated Show resolved Hide resolved
status/README.md Outdated Show resolved Hide resolved
README.md Show resolved Hide resolved
status/README.md Outdated Show resolved Hide resolved
status/README.md Outdated Show resolved Hide resolved
@jeffcap1 jeffcap1 requested a review from kjnsn October 9, 2024 04:08
@khsoh
Copy link
Contributor

khsoh commented Oct 9, 2024

Hi, I found that there are issues with the status bar when scripts are required to be executed (like the cpu status module). I am not sure if this is a TMUX or TPM or catppuccin-tmux issue. For example, if I use the CPU status module, after the initial start up with tmux new-session , the CPU status does not appear.

I have to reload the config with tmux source ~/.config/tmux/tmux.conf to make the CPU status appear.

The workaround I applied was to run:

tmux new \; set-hook -g session-created "source ~/.config/tmux/tmux.conf"

The suggested method to run catppuccin.tmux first did not work IF a custom module is applied in tmux.conf. For example, if tmux.conf contains the following lines:

%hidden MODULE_NAME="ram"
set -ogq    @catppuccin_ram_icon "#{l:#{ram_icon}} "
set -ogqF   @catppuccin_ram_color "#{@thm_blue}"
set -ogq    @catppuccin_ram_text "#{l:#{ram_percentage}}"
source -F "~/.tmux/plugins/tmux/utils/status_module.conf"

Running catppuccin.tmux before setting status-right does not seem to work on my macOS system. My status bar definition is:

set -g status-right "#{E:@catppuccin_status_application}#{E:@catppuccin_status_session}"
set -agF status-right "#{E:@catppuccin_status_cpu}#{E:@catppuccin_status_ram}"

@kjnsn
Copy link
Collaborator

kjnsn commented Oct 9, 2024

Hi, I found that there are issues with the status bar when scripts are required to be executed (like the cpu status module). I am not sure if this is a TMUX or TPM or catppuccin-tmux issue. For example, if I use the CPU status module, after the initial start up with tmux new-session , the CPU status does not appear.

Hey! Not sure how this is relevant to this review? There are issues already filed regarding this. If you have a suggestion on how to improve the docs, please make a suggestion directly

README.md Show resolved Hide resolved
@kjnsn kjnsn merged commit da28bb2 into catppuccin:main Oct 9, 2024
2 checks passed
pauldthomson pushed a commit to pauldthomson/tmux that referenced this pull request Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants