Nocode 96/cmd runner - #459
Open
nocode-96 wants to merge 3 commits into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Plugin
nocode-96/cmd-runnerplugin.toml)What it does
Command Runner adds a top-bar widget that lets users save custom CLI commands and execute them silently in the background with a single click — no terminal window pops up. Commands that require
sudostore the password once at save time so subsequent runs are one-click. Completed runs show their stdout/stderr and exit code inside a collapsible log view directly in the panel.External dependencies
None. Command Runner is self-contained and uses only Noctalia's built-in
noctalia.runAsyncAPI for background execution. Sudo commands are dispatched via the standardsudo -Spattern using the cached password.Testing
How it was exercised:
echo hello) and verified stdout appeared in the log view.show_labelandshow_toastsettings and confirmed the widget and notifications respond correctly.commands.jsonstores passwords obfuscated (prefixed withenc:) and not as plain text.Tested on Niri
Tested on Hyprland
Tested on Sway
Tested on another compositor:
Noctalia version tested against: v5.0.0 (beta9-4-g7fd9f7bfa960)
Plugin API level: 9
Screenshots / Videos
Checklist
idafter the/inplugin.tomlexactly.plugin.toml,README.md,thumbnail.webp, andtranslations/en.json.README.mdfollows the README template, documents every entry id and dependency, and includes exact panel IPC commands and launcher prefixes where applicable.thumbnail.webpwith the thumbnail generator.versionfollows semver and is bumped in this PR;plugin_apiis the oldest API level this plugin requires.catalog.toml; CI generates it.Code review attestation
licensedeclared inplugin.toml.