You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to run tdrop -ma -w 100% -h 95% -y "$PANEL_HEIGHT" -s kitty, it fails and says:
Error: Program to run is required as a positional argument. For help use -h or --help or see the manpage.
So in the tdrop script, -s need an option for session_name, but what if I don't want a session name manually, normally I just use tmux, I got my own ~/.tmux.conf and set status-left as #S, the #S is the session-name, I never provide a session name manually, so by default, this value will be an increasing number start from 0.
So I suggest the argument for -s should be optional, if no argument provided, use the tmux default, it provided, use the provided one.
UPDATE:
Actually I personally don't need -s option, I start a script call t which is a wrapper for tmux in kitty.conf, so this is actually what I need.
But the original suggestion still needs to be done.
The text was updated successfully, but these errors were encountered:
c02y
changed the title
Do we really need to provide a argument for -s option?
Do we really need to provide an argument for -s option?
Sep 9, 2020
Yes, I got it now. After searching other people's usage in the whole github, I managed to make my needs work.
But I think it is better to provide something like a wiki page for some examples of regular programs.
There are a lot of class for those programs in tdrop shell script. I have to anaylyze the file carefully to know how to make those programs work. For example it took me a while to make emacsclient work with tdrop.
Wait... you mean tdrop kitty tmux, the line in my page got wrapped after the word kitty, I didn't notice the word tmux at the end.
I tried tdrop kitty tmux in terminal manually, it starts kitty with empty content, without even a shell prompt, and I cannot do typing in it.
Actually I managed to use tdrop + kitty using tdrop -ma -w 100% -h 90% kitty, and I use a shell script which is a wrapper of tmux as the shell command in kitty.conf, I usually use this shell script as the start command in other terminals such as xfce4-terminal or yakuake.
When I try to run
tdrop -ma -w 100% -h 95% -y "$PANEL_HEIGHT" -s kitty
, it fails and says:So in the tdrop script,
-s
need an option forsession_name
, but what if I don't want a session name manually, normally I just usetmux
, I got my own~/.tmux.conf
and setstatus-left
as#S
, the#S
is the session-name, I never provide a session name manually, so by default, this value will be an increasing number start from 0.So I suggest the argument for
-s
should be optional, if no argument provided, use the tmux default, it provided, use the provided one.UPDATE:
Actually I personally don't need
-s
option, I start a script callt
which is a wrapper for tmux in kitty.conf, so this is actually what I need.But the original suggestion still needs to be done.
The text was updated successfully, but these errors were encountered: