Commit Graph
513 Commits
Author SHA1 Message Date
github-actions[bot] a5e5726c40 chore: update plugin catalog [skip ci] 2026-07-20 00:32:13 +00:00
rrztandGitHub a079c8a652 feat(lyrics): add SPlayer source (#55)
* feat(lyrics): add SPlayer source

* fix(lyrics): harden SPlayer fallback
2026-07-19 20:32:03 -04:00
github-actions[bot] 5651052175 chore: update plugin catalog [skip ci] 2026-07-19 12:46:39 +00:00
Jarred RobinsonandGitHub 14215c8cd4 feat: add claude-companion (#33)
* Add lowcache/claude-companion plugin for PR

* claude-companion: address review feedback

...

* Added tr & timeout to dependency list, and reduced thumbnail description

* added missing thumbnail.webp
2026-07-19 08:46:30 -04:00
github-actions[bot] 4008bf15f2 chore: update plugin catalog [skip ci] 2026-07-19 12:45:44 +00:00
Jin LiuandGitHub 493365b028 Add ImageMagick Clock plugin (#46)
* Add ImageMagick Clock plugin

ImageMagick Clock draws a custom clock using ImageMagick (or any other CLI image drawing tool).

* Address review comments

* Update thumbnail

* Add description to image_width/height settings

* Guard the mv command to fix race condition

* Handle time jump (resume from sleep)
2026-07-19 08:45:34 -04:00
github-actions[bot] 175e5183e6 chore: update plugin catalog [skip ci] 2026-07-19 12:39:50 +00:00
5fb0e0f279 Add DS4 Color plugin (Hy4ri/ds4-color) (#52)
* feat: add PS4 Colors plugin (DS4 lightbar control)

Wraps the ps4-colors CLI (github.com/Hy4ri/ps4-colors) as a Noctalia
plugin: bar button + color panel (native picker, hex field, presets)
that sets the DualShock 4 lightbar via the ps4-colors binary.

NOTE: thumbnail.webp still pending (generated in noctalia thumbnail
generator) — CI will flag the missing asset until added.

* fix: add PS4 Colors thumbnail (solid crimson card)

960x540 WebP, deep crimson (#990000) to match the plugin accent.

* feat: left-click applies saved color, panel adds Save button

- widget: left-click applies the saved color via service; right-click opens panel
- service: add 'save' IPC (persist without touching controller)
- panel: Save (persist) + Apply (set now) buttons
- translations: add 'save' key

* refactor: implement DS4 protocol in pure Lua (drop C dependency)

The plugin now writes the HID output report to /dev/hidrawN directly via
noctalia.writeFile. USB report 0x05 (32B) and Bluetooth report 0x11 (78B)
with CRC32 are built and the CRC verified against the kernel algorithm.
Device detection scans /sys/class/hidraw uevent for Sony DS4 PIDs.
No external binary or library required.

* fix: panel renders black box (ipairs(nil) at script load)

Move preset-click handler registration into onOpen (after presets are
loaded) instead of module top-level, where ipairs(nil) threw and aborted
the whole panel entry. Guard presets with 'or {}'. Replace unsupported
width='100%' string with a numeric width on the swatch.

* fix: match color_picker panel schema exactly (drop invented props)

Remove border='primary' (unknown value -> whole tree abort) and wrap=true.
Swatch now uses border='outline' + borderWidth to show selection, mirroring
oldirtty/color_picker. Aligns every ui.* node with a known-good panel.

* fix: service dead on load (pluginDataDir nil concat) + real device write

- Resolve pluginDataDir lazily + nil-guard lastFile() so the service entry
  actually loads (top-level concat on nil threw -> no onIpc -> no apply ->
  no notification, which is why the color never changed).
- setLightbar tries noctalia.writeFile, falls back to a python3 O_WRONLY
  binary write for the /dev/hidrawN char device (writeFile is file-oriented).

* fix: replace Luau bitwise ops (&/|/~/>>) with math-only helpers

Noctalia's Lua is strict (PUC-Rio semantic), not Luau: '&', '|', '~', '>>'
are syntax errors -> service failed to load at crc32_init -> no apply.
Added band/rshift/bxor/bnot32 math helpers; CRC32 + BT report now use them
and still produce the verified CRC 523bce6f.

* fix: panel black box (readonly _G) — use static onPreset1..9 globals

Noctalia's _G is immutable at runtime, so assigning _G['onPreset'..i] in
onOpen threw 'attempt to modify a readonly table' and aborted the panel.
Presets are a fixed list, so define onPreset1..9 as plain module globals
calling a shared applyPreset(i). Remove dead makePresetHandler.

* fix: drop unsupported textAlign prop on ui.input (ui-tree warning)

'textAlign' is a label prop, not an input prop; Noctalia ignored it with a
[WRN] ui-tree log line. Input defaults to left align anyway.

* fix: use device-gamepad-2 icon for catalog + bar glyph

'controller' glyph was missing; swap to device-gamepad-2 for both the
plugin catalog icon and the bar widget default glyph.

* rename: PS4 Colors -> DS4 Color (id Hy4ri/ds4-color, dir ds4-color/)

Rename plugin id, display name, bar glyph default, translation key
(ps4_colors -> ds4_color) and all internal IPC references. Drop the stale
ps4_colors_missing string (plugin has no external binary dependency).
Keep accurate comments crediting the original ps4-colors C source.

* ui: shorten panel (height 520->400, tighter gaps/padding, smaller swatch)

Save/Apply buttons were already the last row (bottom of the column); this
just compacts the overall panel height.

* art: use panel screenshot as thumbnail (960x540 webp, crimson bg)

* fix: lowercase author in id (CI validate: author must match ^[a-z0-9][a-z0-9._-]*$)

'Hy4ri' -> 'hy4ri' in id, author, and all internal IPC references.

* fix: thumbnail

* fix(review): declare python3 dependency + document hidraw fallback

Reviewer flagged: plugin declared dependencies=[] but the hidraw write fallback
invokes python3, so systems without Python cannot apply the color if the
direct writeFile fails. Declare 'python3' in dependencies, note it in the
manifest description, and document the requirement in README Requirements.

* security(review): validate color as 6-hex at every trust boundary

Reviewer flagged: last.json value entered shared state unvalidated, then got
single-quote-interpolated into /bin/sh -c via runAsync -> shell injection.

- Add isHex6() (exactly ^[0-9a-fA-F]{6}$) and enforce it at: loadLast
  (poisoned last.json), onSubmitHex, onApply/onSave (from state), onIpc
  apply/save, and the apply()/save() service funcs.
- Since only 6 hex chars can reach runAsync, the single-quote interpolation
  is provably safe (no quote-breaker / metachar can survive).
- Also fixes a latent bug: the old %x regex captured only 5 hex, rejecting
  valid 6-char colors like 990000.

* Update plugin description for clarity

Removed mention of 'hidraw write fallback' from the description.

---------

Co-authored-by: M57 <hy4ri@users.noreply.github.com>
Co-authored-by: Lemmy <studio@quadbyte.net>
2026-07-19 08:39:42 -04:00
Lemmy 7a476bf7b3 ci(validate): warn on segmented keys in the json, ex: aaaa.bbbb.cccc 2026-07-19 00:16:13 -04:00
Lemmy b5ffdcf6d4 chore(i18n): push/pull 2026-07-19 00:15:32 -04:00
Lemmy 163ece02ac ci(validate): proper key format detection 2026-07-19 00:06:41 -04:00
Lemmy 81c64fccb1 fix(lyrics): fix invalid uppercase i18n keys 2026-07-19 00:06:25 -04:00
github-actions[bot] a7319e5d34 chore: update plugin catalog [skip ci] 2026-07-18 23:04:33 +00:00
ArturandGitHub 9d96040309 Home Assistant v2.0.1 (#50)
* fix(*): Added a function to remove trailing slashes from URLs.

* feat(panel): Added a home assistant icon alongsite the panel tile.

* chore(plugin): Bump the version to 2.0.1

* fix(panel): Fixed wrong glyph syntax.
2026-07-18 19:04:23 -04:00
github-actions[bot] 6b54e88389 chore: update plugin catalog [skip ci] 2026-07-18 23:02:32 +00:00
Yocraft-2000andGitHub 36758bee4f Web launcher plugin update (#47)
* feat: refresh results when a favicon finishes downloading

* fix: bump version

* feat: add command setting

* fix: fallback command if empty or not set
2026-07-18 19:02:22 -04:00
github-actions[bot] 110b6d6ae7 chore: update plugin catalog [skip ci] 2026-07-18 23:00:37 +00:00
Apex077andGitHub de345821e2 feat: add apex077/eyecare eye-care reminders plugin (#41) 2026-07-18 19:00:28 -04:00
github-actions[bot] 151ea4d53b chore: update plugin catalog [skip ci] 2026-07-18 14:19:28 +00:00
Aviv Bintang AringgaandGitHub 56ccc9e5f4 feat(nextboot-selector): add nextboot-selector plugin (#36)
* feat(nextboot-selector): add nextboot-selector plugin

* fix(nextboot-selector): change readme

* fix(nextboot-selector): change readme

* fix(nextboot-selector): change en.json structure

* fix(nextboot-selector): check command result before rebooting and notify if error

* fix(nextboot-selector): add reboot and sudo as dependencies
2026-07-18 10:19:19 -04:00
github-actions[bot] 2d9c70aaf4 chore: update plugin catalog [skip ci] 2026-07-18 13:31:46 +00:00
LysecandGitHub 9e952f6e70 Merge pull request #44 from avivbintangaringga/nix-monitor
feat(nix-monitor): update version 1.2.0
2026-07-18 15:31:37 +02:00
github-actions[bot] 810d82fab4 chore: update plugin catalog [skip ci] 2026-07-18 13:29:32 +00:00
LysecandGitHub 9f3b5df8fc Merge pull request #45 from h465855hgg/update-lyrics-1.4.0
feat(lyrics): update to 1.4.0 with multi-source and double-line lyrics
2026-07-18 15:29:24 +02:00
github-actions[bot] 26da3b1aba chore: update plugin catalog [skip ci] 2026-07-18 12:52:17 +00:00
LysecandGitHub cd1dcb04c0 Merge pull request #43 from Yocraft-2000/web-launcher
Web launcher plugin
2026-07-18 14:52:06 +02:00
Yocraft-2000 c786561143 fix: strip embedded credentials 2026-07-18 14:47:23 +02:00
Yocraft-2000 eb8a01f5e1 Change back to 1.0.0 2026-07-18 14:26:58 +02:00
h465855hgg 4278be9b6f fix(lyrics): advance instrumental break cue 2026-07-18 19:39:30 +08:00
h465855hgg 409064d410 fix(lyrics): tune instrumental break threshold 2026-07-18 19:30:11 +08:00
h465855hgg 368f10abb5 fix(lyrics): improve instrumental break detection 2026-07-18 18:59:48 +08:00
h465855hgg 6bcbf1beda fix(lyrics): restore adaptive lyrics layout 2026-07-18 18:54:55 +08:00
h465855hgg 2c42b32101 fix(lyrics): secure credential request handling 2026-07-18 18:46:17 +08:00
h465855hgg fc3d3447d0 feat(lyrics): expand sources and display controls 2026-07-18 18:29:33 +08:00
Yocraft-2000 e9d898f99b fix: cleaner translation 2026-07-18 12:27:36 +02:00
Yocraft-2000 3007c07c0c Add notification translation 2026-07-18 12:01:07 +02:00
Yocraft-2000 0d73e6749b Update plugin version 2026-07-18 10:35:02 +02:00
avivbintangaringga 5fc167ae4e Merge upstream main and resolve conflicts in nix-monitor 2026-07-18 14:50:51 +07:00
Yocraft-2000 f53c7acca0 Rearrange plugin.toml to match docs 2026-07-18 09:38:03 +02:00
Yocraft-2000 159ddd1301 fix: check http(s) after trim 2026-07-18 09:31:00 +02:00
avivbintangaringga 7093609ce5 fix(nix-monitor): bump version 2026-07-18 14:23:00 +07:00
avivbintangaringga 01fec984d8 fix(nix-monitor): implement pluginDataDir() 2026-07-18 14:16:45 +07:00
avivbintangaringga cec50766b6 docs(nix-monitor): update thumbnail 2026-07-18 14:13:36 +07:00
avivbintangaringga bf9f58aa87 docs(nix-monitor): update readme 2026-07-18 14:08:42 +07:00
Yocraft-2000 7c5ed0be6a fix: http(s) match, shell escape, cleaner code 2026-07-18 09:07:21 +02:00
avivbintangaringga 6b7dfb0a96 fix(nix-monitor): add dependencies 2026-07-18 14:02:34 +07:00
avivbintangaringga fd1014fc76 feat(nix-monitor): add optimize store 2026-07-18 13:59:54 +07:00
Yocraft-2000 d9eea91d2b Fix README and plugin.toml 2026-07-18 08:34:38 +02:00
Lemmy 1e23c02e0b ci(i18n): first pull, only automatic a-z re-ordering 2026-07-18 01:36:29 -04:00
github-actions[bot] cd74418265 chore: update plugin catalog [skip ci] 2026-07-18 05:27:53 +00:00