Re: [dev] [dwm] swallow without patching dwm -- or losing focus

From: Spenser Truex <truex_AT_equwal.com>
Date: Fri, 26 May 2023 02:50:20 -0300

On 23/05/26 07:24AM, Sagar Acharya wrote:
> Beautiful code. As a rookie user, how will this code be used? Can this be a complete Xenocara/Xorg alternative?
> Thanking you

A very humourous response. I just want my windows to open where I opened
them. There is no kitchen sink included.

It is used like this

./swallow mpv

cheers

> Sagar Acharya
> http://humaaraartha.in <https://humaaraartha.in>
>
>
>
> 26 May 2023, 05:45 by truex_AT_equwal.com:
>
> > Greetings,
> >
> > I converted this swallow program to C, not that it makes any difference
> > at this code size. It's just a couple of malloc'd strings.
> >
> > https://github.com/equwal/swallow-c--
> >
> > I'd like to make it actually transfer the terminal's focus rather than
> > async open and hide itself. That way you get the program you opened in the
> > tag you opened it in, which is something I've been trying to do for a
> > long time in multiple window managers.
> >
> > The author pointed out that "startup hooks" can do this in some window
> > managers, but I like the idea of not even having that be part of the WM
> > itself.
> >
> >
> > --
> > CAEE B377 FC82 BAF9 102C D22F C5CE D003 1AA8 E281
> > Spenser Truex https://equwal.com
> >
>

-- 
CAEE B377 FC82 BAF9 102C  D22F C5CE D003 1AA8 E281
Spenser Truex        https://equwal.com

Received on Fri May 26 2023 - 07:50:20 CEST

This archive was generated by hypermail 2.3.0 : Fri May 26 2023 - 08:00:10 CEST