Replies: 1 comment 11 replies
-
|
If it is a custom module you can do something like show_test() {
if [ -n "$SSH_TTY" ]; then
# ...
module=$( build_status_module "$index" "$icon" "$color" "$text" )
echo "$module"
fi
}and not print/echo anything if not in ssh |
Beta Was this translation helpful? Give feedback.
11 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Uh oh!
There was an error while loading. Please reload this page.
-
I made a custom module that displays a cloud icon in ssh sessions. But I can't manage to completely hide it when it's not in a ssh session. My
show_sshfunction returns an empty string in that case, but an extra set of status separators still remain in the status bar.Is there a way to toggle a module in a session? Or can I set the
@catppuccin_status_modules_rightoption session-specificly?Beta Was this translation helpful? Give feedback.
All reactions