dsh-niuma-timer: Pin "How much earned today" below the input box
The DSH plugin **dsh-niuma-timer** (maintainer: yzzshanyin-rgb, npm package: dsh-niuma-timer, version: 1.1.0, MIT) renders a journal-style capsule below the input box. It calculates today's earnings and this month's cumulative total in real-time based on the monthly salary and start/end times, including lunch breaks. It displays daily/hourly/salary-per-second, a daily progress bar, a countdown to leave work, and a workday check-in grid. Clicking expands it into a semi-transparent frosted glass floating layer that does not occupy layout space; the status automatically switches between working, on lunch break, off work, and unpaid overtime. The calculation methodology uses net working seconds and a monthly salary conversion formula. Workdays default to Monday through Friday, but holidays can be manually configured. Configuration is stored in the `dsh-niuma-timer.v1` key in localStorage, without interaction with the Host or data upload. It can be installed using `dsh plugin --profile desktop add dsh-niuma-timer`, or via Agent, Command Line, or the Plugin Management Panel. The plugin Host is empty/minimal, relying on pure client-side rendering with no tools or background tasks.
Read More