set_config_option
Changes a Hyprland setting instantly using hyprctl for live testing without editing hyprland.conf. Overrides configuration in memory until reload.
Instructions
Set a Hyprland config option at runtime via 'hyprctl keyword'. This does NOT persist to hyprland.conf — it's a live, in-memory override until reload. Good for experimenting before writing the value into the actual config file.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"option": "<option>",
"value": "<value>"
},
"name": "set_config_option"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | e.g. '10', '0.6 0.4', 'true' | |
| option | Yes | e.g. 'general:gaps_in', 'decoration:rounding', 'animations:enabled' |