DankMaterialShell 面板小部件,用于在 NVIDIA Optimus 双显卡笔记本上快捷切换 GPU 模式。
A DankMaterialShell dankbar widget for quickly switching NVIDIA Optimus GPU profiles on dual-GPU laptops.
- DankMaterialShell
- envycontrol — Arch Linux:
sudo pacman -S envycontrol pkexec(polkit) — 确保 envycontrol 的 polkit 规则已正确配置 / Ensure envycontrol polkit rules are set up
cd ~/.config/DankMaterialShell/plugins
git clone https://github.com/JinOxide0/dms-gpu-profile-selector.git GpuProfileSelector重启 DMS 或重载插件:
dms ipc plugins reload然后在 DMS 设置中启用 GPU 配置选择器 小部件即可。
Then enable the "GPU 配置选择器" widget in DMS settings.
| 模式 | 说明 |
|---|---|
| 集显 (Integrated) | 仅使用 Intel/AMD 内部 GPU,省电 |
| 混合 (Hybrid) | 需要时切换到 NVIDIA,平衡 |
| NVIDIA | 仅使用 NVIDIA GPU,性能 |
MIT