summaryrefslogtreecommitdiff
path: root/src/caelestia/utils
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-06-14 15:34:47 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-06-14 15:34:47 +1000
commit4409620ac7a6965259fc6407127799c468f5421c (patch)
tree9f4b4cdc64abb6fd48202744bab2210411ee1e65 /src/caelestia/utils
parentfeat: impl emoji picker subcommand (diff)
downloadcaelestia-cli-4409620ac7a6965259fc6407127799c468f5421c.tar.gz
caelestia-cli-4409620ac7a6965259fc6407127799c468f5421c.tar.bz2
caelestia-cli-4409620ac7a6965259fc6407127799c468f5421c.zip
feat: impl pip subcommand
Diffstat (limited to 'src/caelestia/utils')
-rw-r--r--src/caelestia/utils/hypr.py4
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]: