Commit 31adcaa
committed
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 open1 parent 84ce47b commit 31adcaa
File tree
15 files changed
+1252
-1
lines changed- src/x11
- i3
- ipc
15 files changed
+1252
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
185 | | - | |
| 185 | + | |
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
192 | 202 | | |
193 | 203 | | |
194 | 204 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
| 59 | + | |
58 | 60 | | |
59 | 61 | | |
60 | 62 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
| |||
81 | 82 | | |
82 | 83 | | |
83 | 84 | | |
| 85 | + | |
84 | 86 | | |
85 | 87 | | |
86 | 88 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
14 | 18 | | |
15 | 19 | | |
16 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
0 commit comments