hyprland/ipc: add hyprland ipc

Only monitors and workspaces are fully tracked for now.
This commit is contained in:
outfoxxed 2024-06-05 19:26:20 -07:00
parent be237b6ab5
commit d14ca70984
Signed by untrusted user: outfoxxed
GPG key ID: 4C88A185FB89301E
12 changed files with 1171 additions and 0 deletions

View file

@ -0,0 +1,18 @@
qt_add_library(quickshell-hyprland-ipc STATIC
connection.cpp
monitor.cpp
workspace.cpp
qml.cpp
)
qt_add_qml_module(quickshell-hyprland-ipc
URI Quickshell.Hyprland._Ipc
VERSION 0.1
)
target_link_libraries(quickshell-hyprland-ipc PRIVATE ${QT_DEPS})
qs_pch(quickshell-hyprland-ipc)
qs_pch(quickshell-hyprland-ipcplugin)
target_link_libraries(quickshell PRIVATE quickshell-hyprland-ipcplugin)