mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-24 13:32:50 -05:00
Refactor pre-commit hooks to use prek (#976)
* ci: change to prek for pre-commit * refactor: fix shellcheck warnings for the scripts * chore: unify whitespace formatting * nix: add prek to dev shell
This commit is contained in:
16
docs/IPC.md
16
docs/IPC.md
@@ -22,7 +22,7 @@ Audio system control and information.
|
||||
- Returns: Confirmation message
|
||||
|
||||
**`decrement <step>`**
|
||||
- Decrease output volume by step amount
|
||||
- Decrease output volume by step amount
|
||||
- Parameters: `step` - Volume decrease amount (default: 5)
|
||||
- Returns: Confirmation message
|
||||
|
||||
@@ -72,7 +72,7 @@ Display brightness control for internal and external displays.
|
||||
**`decrement <step> [device]`**
|
||||
- Decrease brightness by step amount
|
||||
- Parameters:
|
||||
- `step` - Brightness decrease amount
|
||||
- `step` - Brightness decrease amount
|
||||
- `device` - Optional device name (empty string for default)
|
||||
- Returns: Confirmation with new brightness level
|
||||
|
||||
@@ -105,7 +105,7 @@ Night mode (gamma/color temperature) control.
|
||||
- Enable night mode
|
||||
- Returns: Confirmation message
|
||||
|
||||
**`disable`**
|
||||
**`disable`**
|
||||
- Disable night mode
|
||||
- Returns: Confirmation message
|
||||
|
||||
@@ -163,7 +163,7 @@ Media player control via MPRIS interface.
|
||||
- Returns: Nothing
|
||||
|
||||
**`pause`**
|
||||
- Pause playback on active player
|
||||
- Pause playback on active player
|
||||
- Returns: Nothing
|
||||
|
||||
**`playPause`**
|
||||
@@ -272,7 +272,7 @@ Wallpaper management and retrieval with support for per-monitor configurations.
|
||||
|
||||
**`setFor <screenName> <path>`**
|
||||
- Set wallpaper for specific monitor (automatically enables per-monitor mode)
|
||||
- Parameters:
|
||||
- Parameters:
|
||||
- `screenName` - Monitor name (e.g., "DP-2", "eDP-1")
|
||||
- `path` - Absolute or relative path to image file
|
||||
- Returns: Success confirmation with monitor and path info
|
||||
@@ -365,7 +365,7 @@ Theme mode control (light/dark mode switching).
|
||||
- Returns: "light"
|
||||
|
||||
**`dark`**
|
||||
- Switch to dark theme mode
|
||||
- Switch to dark theme mode
|
||||
- Returns: "dark"
|
||||
|
||||
**`getMode`**
|
||||
@@ -445,7 +445,7 @@ Clipboard history modal control.
|
||||
|
||||
**Functions:**
|
||||
- `open` - Show clipboard history
|
||||
- `close` - Hide clipboard history
|
||||
- `close` - Hide clipboard history
|
||||
- `toggle` - Toggle clipboard history visibility
|
||||
|
||||
### Target: `notifications`
|
||||
@@ -685,4 +685,4 @@ Most IPC functions return string messages indicating:
|
||||
- Status information for query functions
|
||||
- Empty/void return for simple action functions
|
||||
|
||||
Functions that return void (like media controls) execute the action but don't provide feedback. Check the application state through other means if needed.
|
||||
Functions that return void (like media controls) execute the action but don't provide feedback. Check the application state through other means if needed.
|
||||
|
||||
Reference in New Issue
Block a user