Fun: try communicating with #i3 / #SwayCompositor using #netcat and an #ASCII table!
$ man ascii
$ man sway-ipc # (for Sway)
$ nc -U "$I3SOCK" # "$SWAYSOCK" also works for Sway
Then enter:
i3-ipc^@^@^@^@^C^@^@^@
'^@' is a 0 byte; you can get it with Ctrl+@ (Ctrl+Shift+2) or sometimes Ctrl+Space. '^C' is a 3 byte; you'll need to escape it so that your terminal takes it literally rather than quitting `nc`; enter Ctrl+V then Ctrl+C.
Once you're done, press Ctrl+D once to send!






