- Ubuntu 24+ or Fedora 40+ with GNOME 45+
- Node.js 20+ (for ESLint)
batctlinstalled at/usr/local/bin/batctl
git clone https://github.com/looselyhuman/threshpad.git
cd threshpad
npm install # installs ESLintTHRESHPAD_MOCK=1 gnome-extensions enable threshpad@looselyhumanThe extension will read from test/fixtures/ instead of live sysfs and skip
all batctl invocations.
- 4-space indent, single quotes, semicolons
- JSDoc on all exported functions
- All I/O in try/catch — a GJS exception takes GNOME Shell down with it
Run the linter before committing:
npx eslint extension/Follow Conventional Commits:
feat(panel): add live charge display
fix(sysfs): handle missing BAT1
chore: update dependencies
main— tagged releases onlydev— working branch; open PRs against this- Feature branches:
feat/description,fix/description