diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-09-25 00:40:55 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-09-25 00:40:55 +1000 |
| commit | f0ca30692ddb70fc32e8545c07e02ed5539dc92a (patch) | |
| tree | e3771a3beb5cabc05513a3d587041b4b71fc95e4 /services/Hypr.qml | |
| parent | plugin: add hypr extras (#690) (diff) | |
| download | caelestia-shell-f0ca30692ddb70fc32e8545c07e02ed5539dc92a.tar.gz caelestia-shell-f0ca30692ddb70fc32e8545c07e02ed5539dc92a.tar.bz2 caelestia-shell-f0ca30692ddb70fc32e8545c07e02ed5539dc92a.zip | |
plugin/hypr: add more helpers
Also refresh options on dynamic option application
Diffstat (limited to 'services/Hypr.qml')
| -rw-r--r-- | services/Hypr.qml | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/services/Hypr.qml b/services/Hypr.qml index 7a17212..c141a9b 100644 --- a/services/Hypr.qml +++ b/services/Hypr.qml @@ -35,10 +35,6 @@ Singleton { signal configReloaded - function message(message: string): void { - extras.message(message); - } - function dispatch(request: string): void { Hyprland.dispatch(request); } @@ -77,7 +73,7 @@ Singleton { if (n === "configreloaded") { root.configReloaded(); - extras.message("[[BATCH]]keyword bindln ,Caps_Lock,global,caelestia:refreshDevices;keyword bindln ,Num_Lock,global,caelestia:refreshDevices"); + extras.batchMessage(["keyword bindln ,Caps_Lock,global,caelestia:refreshDevices", "keyword bindln ,Num_Lock,global,caelestia:refreshDevices"]); } else if (["workspace", "moveworkspace", "activespecial", "focusedmon"].includes(n)) { Hyprland.refreshWorkspaces(); Hyprland.refreshMonitors(); |