Re: Request to change the default config to reflect the handbook

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Sun, 26 Jan 2025 23:27:55 UTC
(CC x11@ list in case other Sway users think otherwise)

GHODAWALA MO AMAN ZAHIRABBAS <2021002170110036@ljku.edu.in> writes:

> Hello,
>
> I recently installed FreeBSD and wanted to run Sway however I ran into  an
> issue that the default config has set the default terminal to foot and
> default launcher to wmenu_run which isn't installed since I followed the
> handbook and handbook says I should install alacritty and dmenu, so
> basically there is inconsistency between handbook and the default
> configuration.

Better file a bug against FreeBSD Handbook.

> I am suggesting that perhaps you can change the default config which
> reflects what handbook says for installing Sway.

I don't plan to revert upstream defaults[1]. Sway config isn't designed
to be used unmodified[2]. Patching downstream may confuse new users just
as likely as the current discrepancy.

Curiously, OpenBSD changes the default to xterm[3] as it's part of base
system component to enable graphics support.

[1] https://github.com/swaywm/sway/commit/009c58fc9529 (foot)
    https://github.com/swaywm/sway/commit/b44015578a3d (wmenu)
[2] https://github.com/swaywm/sway/pull/3513 (terminal auto-detection)
[3] https://github.com/openbsd/ports/blob/master/wayland/sway/patches/patch-config_in

>
> Regards,
> Aman