When I open a new terminal, I really like it if it automatically has the same working directory as the currently focused one.
On Xorg, I used a little tool called xcwd
to tell me what that working directory is, but it doesn't work on #Wayland.
So I wrote my own one! ✨ I called it ycwd
, and it sparks a lot of joy for me! :)
https://github.com/blinry/ycwd
=> More informations about this toot | More toots from blinry@chaos.social
@blinry nice. Didn't know about xcwd. Cool idea.
Configured a keyboard shortcut in xfce (Xorg) to run:
sh -c 'exec kitty "--working-directory=$(ycwd "$(xdotool getwindowfocus getwindowpid)")"'
=> More informations about this toot | More toots from joshix@fosspri.de
@joshix Oh neat, could I add that to the README? :)
=> More informations about this toot | More toots from blinry@chaos.social
@blinry created a pr ;)
=> More informations about this toot | More toots from joshix@fosspri.de This content has been proxied by September (3851b).Proxy Information
text/gemini