Re:Ask HN: Small scripts, hacks and automations you're proud...
by pkos98 on Sunday March 12, 2023 @02:38PM
(#35124273)
I probably scratched some parts together from the internet a couple of years ago, but this little script in my i3 keybindings opens a new terminal with the same working directory as the currently focused terminal, pretty useful for my workflow:
https://github.com/pkos98/Dotfiles/blob/master/config/i3/con...
[ Parent
| on HN ]
Re:Ask HN: Small scripts, hacks and automations you're proud...
by mburee on Sunday March 12, 2023 @02:58PM
(#35124578)
https://codeberg.org/dnkl/foot/wiki#user-content-spawning-ne...
Maybe something like this could do the same? But could also rely on that specific terminal emulator
Re:Ask HN: Small scripts, hacks and automations you're proud...
by zwog on Monday March 13, 2023 @12:51AM
(#35131236)
Alacritty has this function built-in, just define `SpawnNewInstance` in the config file:
key_bindings:
- { key: T, mods: Control|Shift, action: SpawnNewInstance }
https://wiki.archlinux.org/title/Alacritty#Spawn_new_instanc...