fandreuz / TUI-ConsoleLauncher

Linux CLI Launcher for Android
Other
1.24k stars 257 forks source link

Easier way to use shortcuts #384

Open RZHSSNZDH opened 1 year ago

RZHSSNZDH commented 1 year ago

Shortcuts' commands are too long. It would be better to use a number after app's name to use one of its shortcuts. For example execute clock 2 instead of shortcut -use 2 clock.

Gobytego commented 1 year ago

You can make an alias. Have you tried that?

RZHSSNZDH commented 1 year ago

You can make an alias. Have you tried that?

Can you describe more? Because I do not suggest this for only one command. I say it would be good if instead of long command of shortcut user uses a commandline parameter after apps.

Gobytego commented 1 year ago

Alias -add clock2 'shortcut -use 2 clock' try that. Let me know.

RZHSSNZDH commented 1 year ago

Alias -add clock2 'shortcut -use 2 clock' try that. Let me know.

I know that I can use this alias, but it was a suggestion from me to keep the app better.

nathgit commented 10 months ago

He's talking about using [app] [number] for each shortcut, without the shortcut -use. shortcut -use 2 clock would become clock 1. As another example, shortcut 1 for tasker would be tasker 1. This would be default for all apps.