Good day,
firstly I would love to congratulate your hard work on lavalauncher,
I've been using it for almost two years and it's an amazing and
customizable launcher bar for wayland and I love it.
Secondly I've been killing the launcher everytime it executes a
command with "& killall lavalauncher" after the given execution
command so I have to launch it with a shortcut in sway everytime I use
it because I just need it visible for each shot which doesn't bother
me doing that way, but since sway crashed with the last version
(sway-1.6 and lavalauncher-2.1.0) with a segfault in gentoo I would
like to ask you if it's not a hardwork and time consuming to implement
an autohide or at least oneshot execution feature like autokill when
the command is executed.
Forgive me if this is on ToDo tasks, in tickets for feature requests
because I was unable to find it, or if you thought about it before but
you decided not to implement it, and also if it is another
clever-clean way to achieve the same behaviour I am not aware of.
PS: I would love to do it myself and share with the community but I
barely code pretty simple things and I am afraid I am not able to do
it as it requires coding skills.
Always happy to hear from you
Luis
On Tue May 11, 2021 at 2:29 PM CEST, Luis Cebrian wrote:
> Good day,
>
> firstly I would love to congratulate your hard work on lavalauncher,
> I've been using it for almost two years and it's an amazing and
> customizable launcher bar for wayland and I love it.
I am glad you like it.
> Secondly I've been killing the launcher everytime it executes a
> command with "& killall lavalauncher" after the given execution
> command so I have to launch it with a shortcut in sway everytime I use
> it because I just need it visible for each shot which doesn't bother
> me doing that way, but since sway crashed with the last version
> (sway-1.6 and lavalauncher-2.1.0) with a segfault in gentoo I would
> like to ask you if it's not a hardwork and time consuming to implement
> an autohide or at least oneshot execution feature like autokill when
> the command is executed.
Hiding is already a feature. LavaLauncher can't auto-hide, since
the layer shell does not offer a way to detect when it is obstructed
by windows, but it has the option to always hide. I use it myself that
way.
Oneshot executions should be possible on the "lavalauncher-next" branch,
where I am conducting experiments for the next major version. Using
that branch, you can write `@exit` in front of a command and
LavaLauncher will exit after executing it.
Note though that that branch isn't very useable due to massive
efficiency regresses (and hiding is currently broken on that branch
as well).
Friendly greetings,
Leon Henrik Plickat