feat: impl pip subcommand

This commit is contained in:
2 * r + 2 * t
2025-06-14 15:34:47 +10:00
parent 427b9185a8
commit 4409620ac7
2 changed files with 37 additions and 2 deletions
+3 -1
View File
@@ -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]: