Replies: 1 comment 3 replies
-
|
What shell are you using? Btw this plugin really doesn't do much, all the functionally you're thinking of exists in tmux itself. |
Beta Was this translation helpful? Give feedback.
3 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 had an idea to customize my tmux, but am not sure if this would even be possible:
I wrote a little bash script that truncates the current path to get only the first 3 letters of each "level" (i.e.
~/projects/abcdefgets converted to~/pro/abc). This script alone works great and echo's out the shortened path.I was wondering if there is a way to set the tmux window name through the output of a script, sth. like
set -g @catppuccin_window_text "#(~/bin/my_script.sh)"(this obviously doesn't work, it's just to get the general idea).Maybe this is also just really unnecessary and there is a built-in function in tmux/catppuccin to truncate a path like this, but I haven't found anything.
Any help is greatly appreciated!
Beta Was this translation helpful? Give feedback.
All reactions