DSH offers plugin-based extensibility. Aqua is a high-degree-of-freedom, glass-style theme for the DSH web interface. It transforms elements such as the top bar, sidebar, input boxes, statistics row, and trajectory view into frosted glass materials. By providing background and parameter adjustment options, it changes the visual appearance of the interface without modifying the DSH source code.
Basic Information¶
- Project Name:
huangfuren/dsh-client-ui-aqua - Maintainer: huangfuren
- Category: Fun Customization
- License: MIT
Core Features¶
Aqua provides the following core capabilities:
- Frosted Glassification: Supports frosted glass treatment for the top bar, sidebar, input boxes, statistics row, and trajectory view.
- Two Display Modes:
- Floating Glass: Changes the layout to a floating card style.
- Compatibility Mode: Maintains the original layout while replacing materials with generic glass, and automatically applies glass styling to other plugins’ interfaces.
- Highly Adjustable:
- Allows adjustment of glass blur and frosting levels.
- Background supports fluid gradients or custom wallpapers; the blur and frosting of wallpapers can also be adjusted independently.
- Supports unified corner radius and dynamic effects.
- Background Plugin Integration: Can integrate with the
dsh-bg-pluginbackground plugin, reusing its/bg-rpcand/bg-fileinterfaces to read configurations and images.
Installation and Activation¶
Windows (PowerShell one-liner)¶
On Windows, you can use PowerShell to execute the following command to install:
powershell -ExecutionPolicy Bypass -Command "Invoke-WebRequest 'https://github.com/huangfuren/dsh-client-ui-aqua/raw/main/install.ps1' -OutFile install.ps1; .\install.ps1"
This script installs the latest release version by default. To specify a version or follow the development branch, add parameters after the script:
.\install.ps1 -Version 'v1.0.1' # Specify a release version
.\install.ps1 -Version 'main' # Development branch
The installation script will symlink the plugin into the profile’s node_modules and register ui-aqua in cordis.patch.yml. Refresh the web interface after installation to apply the changes.
macOS / Linux (Manual Installation)¶
- Clone the repository and switch to the specified version (e.g., v1.0.1):
git clone --depth 1 --branch v1.0.1 https://github.com/huangfuren/dsh-client-ui-aqua.git
- Create a symbolic link under
$DSH_HOME/profiles/node_modules:
ln -s "$PWD/dsh-client-ui-aqua" "$DSH_HOME/profiles/node_modules/@deepseek-ai/dsh-client-ui-aqua"
- Edit
$DSH_HOME/profiles/web/cordis.patch.ymland append the following content:
- insert:
- id: ui-aqua
name: '@deepseek-ai/dsh-client-ui-aqua'
- Refresh the web interface.
Usage and Adjustment¶
Aqua is enabled by default after installation. Adjustment functions are accessed via the interface settings.
Main Toggle and Independent Switch¶
- Main Toggle: Go to “Settings → Plugins → Glass Theme” to control the main switch.
- Independent Switch Added in v1.0.9: In “Settings → General Settings”, an independent “Glass Theme” switch row has been added below the font size row. This row contains a label, a capsule toggle, and descriptive text for quick switching.
- Parameter Adjustment: When the main toggle is on, other adjustment items are located in “Settings → General Settings → Appearance”. When the main toggle is off, the adjustment items under Appearance are automatically hidden.
Background Plugin Integration¶
To use the background library integration feature, you must first install dsh-bg-plugin (including @deepseek-ai/dsh-bg and @deepseek-ai/dsh-client-bg).
The integration logic is as follows:
* Convergence Orientation: The background plugin provides the image, while Aqua handles the presentation.
* Priority: Wallpapers uploaded directly via Aqua have higher priority than those from the background plugin; clearing Aqua’s wallpaper settings will revert to using the background plugin.
* Separation of Duties: Glass parameters are adjusted on the Aqua side, while image management is handled by the background plugin, ensuring no overlap.
* Interface Reuse: Aqua reuses the existing /bg-rpc (read config) and /bg-file/<id> (fetch image) interfaces of the bg plugin without adding new ones.
Notes¶
- Dependencies:
- Node.js version must be >= 22.19.
- DSH version must be >= 0.1.5-rc.2.
- Component Dependencies: Depends on components such as
@deepseek-ai/dsh-client-storeand@deepseek-ai/dsh-client-locale. - Permissions and Source Code: The plugin runs with the permissions of the current DSH process. It is recommended to review the source code and license before installation.
- Ecosystem Notice: This plugin belongs to the community catalog and has no official affiliation with DeepSeek or High-Flyer.