- Home
- Plugin
- Temi e aspetto
- dsh-cursor-theme
A
dsh-cursor-theme
auki-zy/dsh-cursor-theme
Personalizza il cursore del mouse del PC per ogni stato dell'interfaccia in DeepSeek Harness.
Installazione
dsh plugin --profile web add github:auki-zy/dsh-cursor-themeREADME
dsh-cursor-theme
๐ฑ๏ธ Per-state mouse cursor customization for DeepSeek Harness โ give every UI state (default, pointer, text, wait, not-allowed, โฆ) its own PNG/CUR cursor, applied live and persisted across restarts.
ไธญๆๆๆกฃ ยท Requirements ยท Feasibility ยท Published on npm ยท Listed on DSH 1024Store
โจ Features
- ๐ฏ Per-UI-state overrides โ 14 mouse states (default, pointer, text, wait, help, not-allowed, grab, grabbing, progress, cell, copy, move, resize-ew, resize-ns), each with its own image, hotspot and size
- ๐จ 18 original preset themes โ every theme covers all 14 states with baked PNGs:
- 6 color palettes: Aurora, Honey, Mint, Sunset, Graphite, High Contrast
- 12 creative themes: Paw ๐พ ยท Energy โก ยท Neon ๐ ยท Emoji ๐ ยท Pixel ๐พ ยท Weather โ ยท Origami ๐ ยท Astro ๐ง๐ ยท Candy ๐ฌ ยท Ghost ๐ป ยท Hi-Vis XL ๐ (48px) ยท Pop ๐
- One click to apply; every theme is also downloadable as a ZIP image pack
- ๐ผ๏ธ Built-in SVG template library (25 hand-drawn shapes) + upload your own PNG/CUR (โค128ร128, โค512 KB validated)
- ๐ฆ Image pack import/export โ one ZIP (a PNG per state +
manifest.json), inspect/edit/share real image files, or generate with an AI - ๐ช Apply to system (Windows) โ one click writes the theme into the OS cursor scheme (registry +
SPI_SETCURSORS), visible in Explorer and every app; macOS: experimental Swift overlay + Accessibility guidance - ๐ Hotspot editor (X/Y) for pixel-accurate clicks ยท ๐ size steps 16/24/32/48
- ๐๏ธ Per-row finished-cursor preview (right) + system-default icon (left) so you always know what you are replacing
- โฟ Accessibility โ every rule carries a fallback keyword; failed images degrade to the system cursor, never
none - ๐พ Persisted to the profile (dsh-settings), survives restarts
- ๐ Bilingual (locale-driven zh/en)
๐ฆ Install
# DSH Desktop (the GUI runs the `desktop` profile) โ also installable from the Community Market (1024Store)
dsh plugin --profile desktop add dsh-cursor-theme
# Plain dsh web / browser (optional)
dsh plugin --profile web add dsh-cursor-theme
Restart DSH Desktop (or reload dsh web), then open Settings โ Cursor Theme.
๐ฏ Usage
| Action | How |
|---|---|
| Apply a preset theme | Settings โ Cursor Theme โ click a theme pill |
| Download a theme as ZIP | Click the download icon next to a theme |
| Customize one state | Edit next to a state row โ upload PNG/CUR or pick a built-in shape โ set hotspot/size |
| Import a ZIP pack | Image pack โ Import (e.g. a pack generated by an AI) |
| Apply to the whole OS (Windows) | Apply to system โ one click |
| Reset everything | Restore system default |
๐ ๏ธ Development
npm install
npm run check # typecheck + build + test
npm run build # host lib/ + client client/client.js
Asset pipeline
scripts/theme-art.mjsโ original hand-drawn art for the 12 creative themes (per-state SVG + decorators: glow / gloss / dots)scripts/generate-theme-packs.mjsโ renders every theme into 32ร32 (or 48ร48) PNGs via@resvg/resvg-js, emitsdata/theme-packs/<id>.zip(image packs) +data/themes-<id>.jsonscripts/generate-assets.mjsโ merges packs intodata/assets.json(built-in preset catalog)- Client is bundled by esbuild into a single file (
client/client.js), with react and@deepseek-ai/*kept external (injected by the host__ModuleLoader__)
Market catalog
docs/catalog/manifest.json+docs/catalog/v1/plugins.jsonโ standard DSH Community Market catalog source (v1 contract), deployable to any host that serves JSON with the right content-type (e.g. Cloudflare Pages / Vercel)- npm publishing:
npm publish(requires a public npm token with bypass 2FA for publishing)
๐ Layout
โโโ package.json # dsh.bundle + dsh.client declarations
โโโ cordis.patch.yml # layer insertion patch
โโโ docs/
โ โโโ feasibility.md # feasibility analysis
โ โโโ requirements.md # requirements (draft)
โ โโโ catalog/ # standard market catalog source
โโโ src/
โ โโโ index.ts # host entry (settings namespace registration)
โ โโโ schema.ts # config schema (dsh-settings)
โ โโโ system.ts # Windows registry apply / macOS Swift overlay
โ โโโ cur.ts # PNG โ .cur encoding
โ โโโ client/ # client (esbuild โ single-file client/client.js)
โ โโโ index.ts # client entry (style injection + settings.section)
โ โโโ section.tsx # settings UI (states/assets/themes/hotspot/size/preview/reset)
โ โโโ style.ts # cursor CSS generator
โ โโโ states.ts # state โ CSS selector mapping
โ โโโ assets.ts # built-in asset catalog
โ โโโ themes.ts # built-in theme catalog
โ โโโ pack.ts # theme pack export/import + validation
โ โโโ locales.ts # zh/en dictionaries
โ โโโ types.ts # client-local structural types
โโโ scripts/
โ โโโ build-client.mjs # esbuild bundle + __ModuleLoader__ banner
โ โโโ theme-art.mjs # original creative theme art
โ โโโ generate-theme-packs.mjs # PNG rendering โ packs + built-in data
โ โโโ generate-assets.mjs # merge packs into data/assets.json
โโโ data/ # generated assets (theme packs, built-in catalog)
โโโ tests/ # unit tests (34)
๐ License
MIT
Plugin correlati
S
dsh-deep-whale (maid-atelier)
small-tailqwq/dsh-deep-whale
2.4klโaltro ieriTemi e aspetto
E
dsh-wallpaper-engine
elysia395/dsh-wallpaper-engine
634ieriTemi e aspettoMIT
S
dsh-deep-whale
small-tailqwq/dsh-deep-whale
6052 mesi faTemi e aspetto
D
open-sea-skin
d-dev0101/open-sea-skin
38625 giorni faTemi e aspettoMIT