Four things a Hyprland desktop can do that this one was not. Searching from the launcher needed no launcher work at all: Vicinae already models it, so this is a script command with one percent-encoded argument. Make it the fallback command and anything typed that matches nothing else offers to search it. Bangs come free -- they are a property of where the query is sent, not of the launcher -- so !yt reaches YouTube without a line of bang parsing. Suggestions could not be a script command. They need a view that reacts as you type, which is an extension: TypeScript, compiled, querying the same endpoint Firefox's address bar uses. It debounces, and aborts the request in flight on every keystroke -- typing is faster than the network, and an older answer landing after a newer one leaves the list describing a query that is no longer on screen. A bang skips suggestions entirely, because Google has no useful guesses about "!yt". The engine is now written down twice, once in each. The contract pins that they agree, since searching from the fallback and searching from the suggestions reaching different places is the kind of wrong that looks fine. Gestures mirror GNOME: three fingers sideways for workspaces, up for the overview, down to dismiss it. Open and close rather than toggle both ways -- toggling means swiping up from an open overview closes it, which is not what the fingers meant. Hyprland reads gesture registrations at startup so they cannot be a setting, but distance and direction can be, and are. Window swallowing is off by default and a preference like every other misc setting here. A terminal that vanishes when you did not ask for it is confusing rather than broken, which is worse. Claude-Session: https://claude.ai/code/session_01Q84axqUE5inJhf5Jz9CFy1
31 lines
699 B
JSON
31 lines
699 B
JSON
{
|
|
"name": "panama-search",
|
|
"title": "Panama Search",
|
|
"description": "Web search from the launcher, with live suggestions and bang syntax",
|
|
"categories": ["Web"],
|
|
"license": "MIT",
|
|
"author": "gib",
|
|
"icon": "extension_icon.svg",
|
|
"commands": [
|
|
{
|
|
"name": "search",
|
|
"title": "Search the web",
|
|
"subtitle": "Panama",
|
|
"description": "Search with live suggestions, opened in the default browser",
|
|
"mode": "view"
|
|
}
|
|
],
|
|
"preferences": [],
|
|
"scripts": {
|
|
"build": "vici build",
|
|
"dev": "vici develop"
|
|
},
|
|
"dependencies": {
|
|
"@vicinae/api": "^0.8.2"
|
|
},
|
|
"devDependencies": {
|
|
"@types/react": "^19.0.0",
|
|
"typescript": "^5.9.2"
|
|
}
|
|
}
|