-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
i3/sway: add support for the I3 and Sway IPC
sway: add urgent and focused dispatchers to workspaces flake: add sway toggle WIP sway: add monitor status sway: handle multiple ipc events in one line sway: reuse socket connection for dispatches & better command type handling WIP sway: add associated monitor to a workspace i3/sway: update to allow for i3 compatibility i3/sway: manage setting the focused monitors i3/sway: fix multi monitor crash i3/sway: fix linting errors i3/sway: update nix package flag naming to i3 i3/sway: add documentation, fix module.md and impl monitorFor i3/sway: handle more workspace ipc events i3/sway: fix review i3/sway: fix crash due to newline breaking up an IPC message i3/sway: handle broken messages by forwarding to the next magic sequence i3/sway: break loop when buffer is empty i3/sway: fix monitor focus & focused monitor signal not being emitted i3/sway: use datastreams instead of qbytearrays for socket reading i3/sway: fix lint issues i3/sway: drop second socket connection, remove dispatch return value, recreate IPC connection on fatal error i3/sway: handle run_command responses i3/sway: remove reconnection on unknown event i3/sway: fix formatting, lint & avoid writing to socket if connection is not open
- Loading branch information
Showing
15 changed files
with
1,252 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
qt_add_library(quickshell-i3 STATIC) | ||
|
||
target_link_libraries(quickshell-i3 PRIVATE ${QT_DEPS}) | ||
|
||
set(I3_MODULES) | ||
|
||
if (I3_IPC) | ||
add_subdirectory(ipc) | ||
list(APPEND I3_MODULES Quickshell.I3._Ipc) | ||
endif() | ||
|
||
qt_add_qml_module(quickshell-i3 | ||
URI Quickshell.I3 | ||
VERSION 0.1 | ||
IMPORTS ${I3_MODULES} | ||
) | ||
|
||
install_qml_module(quickshell-i3) | ||
|
||
qs_pch(quickshell-i3) | ||
qs_pch(quickshell-i3plugin) | ||
|
||
target_link_libraries(quickshell PRIVATE quickshell-i3plugin) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
qt_add_library(quickshell-i3-ipc STATIC | ||
connection.cpp | ||
qml.cpp | ||
workspace.cpp | ||
monitor.cpp | ||
) | ||
|
||
qt_add_qml_module(quickshell-i3-ipc | ||
URI Quickshell.I3._Ipc | ||
VERSION 0.1 | ||
DEPENDENCIES QtQml | ||
) | ||
|
||
qs_add_module_deps_light(quickshell-i3-ipc Quickshell) | ||
|
||
install_qml_module(quickshell-i3-ipc) | ||
|
||
target_link_libraries(quickshell-i3-ipc PRIVATE Qt::Quick) | ||
|
||
qs_module_pch(quickshell-i3-ipc SET large) | ||
|
||
target_link_libraries(quickshell PRIVATE quickshell-i3-ipcplugin) |
Oops, something went wrong.