Help, user error or bug? kittens #9321
|
Describe the bug To Reproduce since it appears you cant pass arguments to it i tried figuring out remote control, not for beginners it seems. https://github.com/swirepe/alwaysontop ^^ i love how this works with quick-access-terminal, but cant for the life of me get the config to load it, pass it as an argument, or do anything fancy in my .bashrc to only source this when in the quick-access-shell Screenshots Environment details Config options different from defaults: Important environment variables seen by the kitty process: ###what the terminal gave me |
Replies: 3 comments 1 reply
|
You most definitely can pass arguments to kittens. |
|
I tried to get it to work for about 6 hours. If it is possible to open the quick-access-terminal with a command, you may be the only one who knows how. Like If i open the quick-access-terminal and type source ~/.config/kitty/mytopdownterminal.sh it works fine. Id like that to be its operation upon first using it at startup. Only other option was trying to have something in my .bashrc to only source this script in the quick-access-terminal but i was unable to get the shell to differentiate that terminal from any other. I have set a keybind to the quick-access-terminal but need it to source a bash .sh file because i like my drop down terminal to keep the prompt on top and return the output of commands below. It works if i manually source it but i cant for the life of me get quick-access-terminal to take a commandline argument in any way shape or form ive tried sockets and all sorts of stuff. Its a great tool but not simple. I could execute it once at the beginning of the session to source this bash file but theres no way i have found to make it do that, besides typing it manually. Thanks anyways i still use kitty its a great tool. Thanks for your time. |
|
will start the quick access terminal showing top. Note that this will happen only the very first time you run the command since on subsequent runs it will only toggle an existing quick access terminal. As for detecting you are running in the quick access terminal, it's pretty easy, simply set an environment variable in your invocations, for example: |


kitten quick-access-terminal sh -c "whatever"works as expected, for example:will start the quick access terminal showing top. Note that this will happen only the very first time you run the command since on subsequent runs it will only toggle an existing quick access terminal.
As for detecting you are running in the quick access terminal, it's pretty easy, simply set an environment variable in your invocations, for example: