Skip to content

App aliases: sp always puts Spotify first - #10

Open
EnolCook wants to merge 6 commits into
AhmedTheGeek:mainfrom
EnolCook:app-aliases
Open

EnolCook wants to merge 6 commits into
AhmedTheGeek:mainfrom
EnolCook:app-aliases

Conversation

@EnolCook

@EnolCook EnolCook commented Sep 22, 2026 •

Copy link
Copy Markdown
Contributor

Builds on #9, only the last commit is new.

Pick an app in settings and give it a short alias (sp for Spotify). Typing exactly the alias puts that app first, above an exact name match. Anything else ranks like before.

Screenshots

mu is an alias for Deezer here; without it YT Music would come first.

The clipboard link row becomes the first Suggestion: a title, badge, glyph and
an action. Keeps the calculator and web search out of ResultsView/LauncherPanel
special cases. Also drops the spare ninth row, it was never shown.
3x3, (12+4)/2, 2^10, sqrt(2), 15% * 80. The result is the first row and Enter
copies it. Small parser on the raw input, no dependency. Also adds
SuggestionSource so the next features stay out of the panel.
Length, mass, volume, area, speed, time, data, temperature, energy, pressure
and angle from fixed tables. The amount goes through the calculator, so
'2+3 kg in lb' works. No currencies, they would need network.
'yt funny cat' shows a row that opens YouTube results, in the YouTube app when
it's installed. Still no INTERNET permission, it's just a VIEW intent.
Toggles for the calculator, units, clipboard link and search keywords, plus
editable search engines and shortcuts to the three permissions. It's a
launcher activity so the card ranks it like any app, and the App info gear
opens it too.
Set in settings. An exact alias match ranks above everything, anything else
ranks as before.
@EnolCook
EnolCook force-pushed the app-aliases branch 2 times, most recently from b3f2582 to 7596abe Compare September 22, 2026 15:30

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant