1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-04-04 12:52:06 -04:00

feat: add ipc handlers for color picker modal (#1554)

* dankcolorpickermodal: add ipc handlers

* add ipc docs for color picker modal
This commit is contained in:
Rin
2026-01-31 14:35:02 +11:00
committed by GitHub
parent a90717b20c
commit 4602442feb
2 changed files with 59 additions and 0 deletions

View File

@@ -533,6 +533,16 @@ File browser controls for selecting wallpapers and profile images.
- `profile` - Opens profile image file browser in Pictures directory
- Both browsers support common image formats (jpg, jpeg, png, bmp, gif, webp)
### Target: `color-picker`
Color picker modal control.
**Functions:**
- `open` - Show color picker modal
- `close` - Hide color picker modal
- `closeInstant` - Hide color picker modal without animation
- `toggle` - Toggle color picker modal visibility
- `toggleInstant` - Toggle color picker modal visibility without animation on hide
### Target: `hypr`
Hyprland-specific controls including keybinds cheatsheet and workspace overview (Hyprland only).
@@ -610,6 +620,9 @@ dms ipc call dankdash wallpaper
dms ipc call file browse wallpaper
dms ipc call file browse profile
# Open color picker
dms ipc call color-picker toggle
# Show Hyprland keybinds cheatsheet (Hyprland only)
dms ipc call hypr toggleBinds
dms ipc call hypr openBinds