diff options
Diffstat (limited to 'src/caelestia/utils')
| -rw-r--r-- | src/caelestia/utils/hypr.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/caelestia/utils/hypr.py b/src/caelestia/utils/hypr.py index 3ba89cf..f89cd98 100644 --- a/src/caelestia/utils/hypr.py +++ b/src/caelestia/utils/hypr.py @@ -2,7 +2,9 @@ import json as j import os import socket -socket_path = f"{os.getenv('XDG_RUNTIME_DIR')}/hypr/{os.getenv('HYPRLAND_INSTANCE_SIGNATURE')}/.socket.sock" +socket_base = f"{os.getenv('XDG_RUNTIME_DIR')}/hypr/{os.getenv('HYPRLAND_INSTANCE_SIGNATURE')}" +socket_path = f"{socket_base}/.socket.sock" +socket2_path = f"{socket_base}/.socket2.sock" def message(msg: str, json: bool = True) -> str | dict[str, any]: |