Hacker News new | ask | show | jobs
by nesarkvechnep 18 days ago
I did the same integration with an Erlang daemon. All relevant key presses are sent to it and based on the current focused application the daemon does different things. I built an Erlang library i3_IPC to listen for events and send commands to Sway.
2 comments

I'm curious; why Erlang?
Why not Erlang?

It's is great in everything which requires talking to and/or listening on a socket. It's amazing for writing and running daemons.

Care to share?