mirror of https://github.com/fairyglade/ly.git
`waylandsessions` and `xsessions` are currently non-optional string fields, so there is no clean way to disable session type discovery for users who do not use Wayland or X11. Setting them to a nonexistent path works but produces log errors on every startup. This change makes both fields optional (`?[]const u8`), consistent with other nullable config fields such as `xinitrc`. Setting either to `null` in `config.ini` cleanly skips crawling for that session type with no side effects. Co-authored-by: Jackson Delahunt <jackson@stemn.com> Reviewed-on: https://codeberg.org/fairyglade/ly/pulls/954 Reviewed-by: AnErrupTion <anerruption+codeberg@disroot.org> Co-authored-by: Jackson Delahunt <sabrehagen@noreply.codeberg.org> Co-committed-by: Jackson Delahunt <sabrehagen@noreply.codeberg.org> |
||
|---|---|---|
| .. | ||
| custom-sessions | ||
| lang | ||
| ly-runit-service | ||
| ly-s6 | ||
| pam.d | ||
| config.ini | ||
| example.dur | ||
| ly-dinit | ||
| ly-freebsd-wrapper | ||
| ly-kmsconvt@.service | ||
| ly-openrc | ||
| ly-sysvinit | ||
| ly@.service | ||
| setup.sh | ||
| startup.sh | ||