Skip to content

Add Xfce Genmon support - #1

Merged
WaylonSmithersJr merged 1 commit into
mainfrom
feat/xfce-genmon
Nov 13, 2026
Merged

WaylonSmithersJr merged 1 commit into
mainfrom
feat/xfce-genmon

Conversation

@WaylonSmithersJr

Copy link
Copy Markdown
Owner

Xfce compatibility

The upstream project is a GNOME Shell extension, so it cannot be loaded by Xfce's panel. This fork adds a one-shot adapter for Xfce's official Generic Monitor (Genmon) plugin without modifying the GNOME extension.

  • Reuses codexAuth.js and usageApi.js for the same file-backed Codex login, account ID, API calls and response normalization.
  • Emits documented Genmon <txt>/<tool> output: remaining/used allowance in the panel; 5-hour and weekly windows, reset time and credits in the tooltip.
  • Supports an explicit auth file and label per panel instance; masks raw auth/API errors and XML-escapes labels.
  • Adds installation guidance and CI checks for Node formatting/handoff, GJS CLI startup and the shared auth/API parser.

Local checks: 5 Node tests and JS syntax checks pass. A live Xfce panel is not available on the build host; the GJS CLI is validated in CI and the actual panel presentation remains a user-machine smoke check.

@WaylonSmithersJr
WaylonSmithersJr merged commit e191607 into main Nov 13, 2026
2 checks passed
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.

1 participant