Skip to content

Add cloudflare-warp plugin#34

Draft
sinister-kid wants to merge 4 commits into
noctalia-dev:mainfrom
sinister-kid:main
Draft

Add cloudflare-warp plugin#34
sinister-kid wants to merge 4 commits into
noctalia-dev:mainfrom
sinister-kid:main

Conversation

@sinister-kid

Copy link
Copy Markdown

Plugin

  • Id: aurora-kid/cloudflare-warp
  • New plugin
  • Update to an existing plugin (version bumped in plugin.toml)

What it does

Plugin to check and toggle Cloudflare WARP connection and Client from a bar widget or the control center, so is not needed to keep the official and heavy warp-taskbar running all the time just for visual feedback.

External dependencies

warp-cli to check and set connection state. 'warp-taskbar' and pkill to open and close the Client app.

Testing

I use it daily, all the entries. Does have few settings that just work. Although I have never brute forced multiple widgets instances, but should't be a problem.

  • Tested on Niri
  • Tested on Hyprland
  • Tested on Sway
  • Tested on another compositor:
  • Noctalia version tested against: 3
  • Plugin API level:

Screenshots / Videos

Checklist

  • The directory name matches the part of id after the / in plugin.toml exactly.
  • It ships plugin.toml, README.md, thumbnail.webp, and translations/en.json.
  • README.md follows the
    README template, documents
    every entry id and dependency, and includes exact panel IPC commands and launcher prefixes where applicable.
  • I created thumbnail.webp with the thumbnail generator.
  • version follows semver and is bumped in this PR; plugin_api is the oldest API level this plugin requires.
  • Every non-English translation in this PR uses a locale supported by Noctalia core, and I can read, write, and
    understand that language well enough to review and maintain it (no unreviewed machine/LLM translations).
  • I did not edit catalog.toml; CI generates it.
  • This PR touches exactly one plugin directory.

Code review attestation

Plugins run as trusted, unsandboxed Luau in the user's session. Confirm:

  • The code is readable and not obfuscated, minified, or generated.
  • It does not download and execute remote code.
  • Every network call, filesystem write, and spawned process is something the description above accounts for.
  • I have the right to publish this code under the license declared in plugin.toml.

@ItsLemmy

Copy link
Copy Markdown
Contributor

cloudflare-warp/README.md: Requirements must mention manifest dependency pkill

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.

2 participants