News for hackers. Stuff that matters.
Re:Papersway – a scrollable window management for Sway/i3wm by eichin on Sunday August 25, 2024 @01:31AM (#41344652)
If you look at bin/papersway itself,

my $wm_ipc_socket = $have_sway ? $ENV{SWAYSOCK} : $ENV{I3SOCK}; my $wmipc = AnyEvent::I3->new($wm_ipc_socket); $wmipc->connect->recv or die "couldn't connect to WM IPC socket";

(One of the reasons I moved from ratpoison to i3 in the first place was that i3 has this kind of interface, though usually I use i3-msg and jq directly. I'd be curious if there are others like it...)

There are no comments on this comment yet.