Post B54BWSUuSqSTBQPmEa by WandererUber@poa.st
 (DIR) More posts by WandererUber@poa.st
 (DIR) Post #B54BWS65x6bnwSnxYW by hazlin@shortstacksran.ch
       0 likes, 0 repeats
       
       @WandererUber I thought more about what we talked about yesterday.I think the cd caching can be improved upon.That is, when the new terminal opens, it doesn't just default to the last cd made on system. Instead it prints the last 10, and waits for you to enter `,1-5, or q,w,e,r,t to choose which of the recent directories you want the new terminal to be at. (that should provide enough temporal history to usually have your desired path at your fingertips)I propose this under the notion that you would like to use the sway global hotkey as your primary terminal button. Could even do the kitty hotkey in addition for when you want to select a terminal, and duplicate it without thinking.
       
 (DIR) Post #B54BWSUuSqSTBQPmEa by WandererUber@poa.st
       0 likes, 0 repeats
       
       That's not too bad a workaround but this behavior already exists in fish shell: if I type cd and press up arrow, I get only commands containing cd from the shell history.The whole point is spawning a terminal/ file manager/ any old prog   that starts where I want it immediately.while cool, such hacky solutions would only cause more problems later. I.e. opening a different problem would require sending it through the terminal just to select the working dir. And that sort of defeats the purpose of making it faster to use.I'd rather fix the bug that makes my setup not grab the correct cwd in the first place. Thank you though.
       
 (DIR) Post #B54BWSlZStmm16D5Ci by WandererUber@poa.st
       0 likes, 0 repeats
       
       I have seemingly solved it. There was a bug in the piped command chain from swaycwd.It uses swaymsg -t get_tree (this prints out all windows) and then manually finagles with the json until only the selected window remains.I found a script online that uses jq instead of gron (no idea if that was it) but it solved the problem.I used watch SCRIPTNAME to figure out what the fuck the problem was and I could see that swaycwd was not updating. So I knew it wasn't the terminal.
       
 (DIR) Post #B54BWSyKhRzgegBH60 by sickburnbro@poa.st
       0 likes, 0 repeats
       
       this seems like you are having a good time, but I think I'd claw my eyes out