dsh-salary-flap

A split-flap salary board for the DSH Web UI. Enter monthly salary, hours per day, working days per month and a start time, and the board settles today's earnings every 2 seconds on eight flip cells (currency symbol, four integer digits, decimal point, two decimals). Shows 0.00 before the shift, caps at the daily wage after it, and handles shifts that cross midnight. Six color schemes, drag anywhere (the position is kept on this machine), and a close button that collapses the board into a pill in the session header. Pure client-side bundle: no network calls and no dependencies.

Overview

A split-flap salary board for the DSH Web UI. Enter monthly salary, hours per day, working days per month and a start time, and the board settles today's earnings every 2 seconds on eight flip cells (currency symbol, four integer digits, decimal point, two decimals). Shows 0.00 before the shift, caps at the daily wage after it, and handles shifts that cross midnight. Six color schemes, drag anywhere (the position is kept on this machine), and a close button that collapses the board into a pill in the session header. Pure client-side bundle: no network calls and no dependencies.

Installation

Install from npm

dsh plugin --profile web add dsh-salary-flap

Resolves a published tarball rather than cloning the repository, and installs without any extra setup. Swap `web` for your profile name if you run another one.

Install from GitHub

dsh plugin --profile web add github:hulibuld/dsh-salary-flap

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

Version compatibility

Compatibility is unconfirmed. Check the project documentation for supported versions.

Installation notes

  • May run terminal commands