Add plugin: Password Store (pass)#863
Conversation
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
1 similar comment
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as resolved.
This comment was marked as resolved.
|
Do not add the registry file, that one gets updated automatically. |
… false and is NOT needed! (H) Line 1309: The repository field needs to point to the "https://github.com/noctalia-dev/noctalia-plugins" github repository! Signed-off-by: Bojan Arch Jovanovic <bojan@kortechs.io>
Done ✔️ |
spiros132
left a comment
There was a problem hiding this comment.
Some feedback about the PR! :)
| } | ||
|
|
||
| Component.onCompleted: { | ||
| LauncherProviderRegistry.registerPluginProvider(pluginApi.pluginId, _providerComponent, {}); |
There was a problem hiding this comment.
Do not add your launcher provider this way, create an object called LauncherProvider and provide that in the manifest itself. The plugins aren't the ones responsible with registering and unregistering their launcher providers from / to the shell.
| @@ -0,0 +1,20 @@ | |||
| { | |||
| "id": "pass", | |||
There was a problem hiding this comment.
pass might be a too small name I would say. Maybe password-store, or something similar like that.
|
|
||
| ## Installation | ||
|
|
||
| ### Manual Installation |
There was a problem hiding this comment.
If this is the only subsection in the Installation section, it might confuse users. I would suggest either skip the installation section or add a small part saying that they can just download the plugin from the noctalia settings.
Summary
Adds a launcher provider that integrates with pass (the standard Unix
password manager). Two search prefixes are supported from the
launcher:
password to clipboard
current TOTP code to clipboard
How it works
On init the plugin runs find against $PASSWORD_STORE_DIR (falling back
to ~/.password-store) to build the entry list. Search uses FuzzySort
from qs.Commons — same engine as the app launcher — so ranking is
consistent. Activation calls pass -c or pass otp -c ,
both of which clear the clipboard after 45 seconds per pass defaults.
Wayland clipboard (wl-copy) is handled automatically by pass when
$WAYLAND_DISPLAY is set.
Dependencies
Checklist
author, license, description, tags
launcher provider API)
pass setup
troubleshooting