Stunkymonkey / nautilus-open-any-terminal

GNU General Public License v3.0
611 stars 65 forks source link

Add support for Prompt #97

Closed KyleGospo closed 11 months ago

KyleGospo commented 11 months ago

Adds support for Prompt, a new terminal emulator flatpak.

Stunkymonkey commented 11 months ago

can you please provide the cli arguments needed to start the terminal in a specific folder?

KyleGospo commented 11 months ago

For the current version: flatpak run org.gnome.Prompt.Devel --new-window --working-directory=~/Documents

Stable is supposed to be out soon.

KyleGospo commented 11 months ago

@Stunkymonkey Had to add NEW_WINDOW_PARAMS for which Prompt is the only member due to a quirk where it'll focus the current window unless that's specified.

I have a local build re-based on PR https://github.com/Stunkymonkey/nautilus-open-any-terminal/pull/98, when that lands I'll update this PR to match.

Stunkymonkey commented 11 months ago

@KyleGospo PR #98 is merged. you can rebase now.

KyleGospo commented 11 months ago

@Stunkymonkey rebased, thanks!

Stunkymonkey commented 11 months ago

the failing CI is my mistake. Sorry

Stunkymonkey commented 11 months ago

While reviewing I got a new idea:

we should better have a dict in dict storing

data = { "promt": {"name": "Promt", "new_window_args": "--abc"}, "foot": {"name": "Foot", ...}, ...} to prevent the long lists.

But this is for me.

Thanks for your contribution.