diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-05-04 22:34:49 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-05-04 22:34:49 +1000 |
| commit | d95c1347171965891fcb24023afbc8c462e1a920 (patch) | |
| tree | 5b7375af541573fb140e81f78ad98f3089033069 /services/Hyprland.qml | |
| parent | feat: brightness osd (diff) | |
| download | caelestia-shell-d95c1347171965891fcb24023afbc8c462e1a920.tar.gz caelestia-shell-d95c1347171965891fcb24023afbc8c462e1a920.tar.bz2 caelestia-shell-d95c1347171965891fcb24023afbc8c462e1a920.zip | |
osd: pause hide on hover
Diffstat (limited to 'services/Hyprland.qml')
| -rw-r--r-- | services/Hyprland.qml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/services/Hyprland.qml b/services/Hyprland.qml index 481ee7c..f0a0a97 100644 --- a/services/Hyprland.qml +++ b/services/Hyprland.qml @@ -40,8 +40,9 @@ Singleton { Process { id: getClients - command: ["sh", "-c", "hyprctl -j clients | jq -c"] + command: ["hyprctl", "-j", "clients"] stdout: SplitParser { + splitMarker: "" onRead: data => { const clients = JSON.parse(data); const rClients = root.clients; @@ -69,8 +70,9 @@ Singleton { Process { id: getActiveClient - command: ["sh", "-c", "hyprctl -j activewindow | jq -c"] + command: ["hyprctl", "-j", "activewindow"] stdout: SplitParser { + splitMarker: "" onRead: data => { const client = JSON.parse(data); root.activeClient = client.address ? clientComp.createObject(root, { |