ly/src
Matthew Rothlisberger 1f2453f0fb Disable battery status display by default (#852)
A couple things to fix in the new battery status display configuration.

I think this should be disabled by default. My reasoning:
- Historically a conservative approach is taken with new capabilities in Ly; even the clock is disabled by default
- The existing default creates a regression (error message) for anyone without `/sys/class/power_supply/BAT0` on their system (all non-portable PCs, and laptops that use a different identifier)
- The battery status check causes animations to momentarily hang at a regular interval

Other changes:
- Comment for `battery_id` aligned with similar config switch comments (description / useful information / effect of null setting)
- `battery_id` moved to its correct alphabetical position in the config file
- Setting aligned between `Config.zig` and `config.ini` (the prototypical config file should reflect the actual default)
- Configurations prefixed with `hide_` alphabetized

Reviewed-on: https://codeberg.org/fairyglade/ly/pulls/852
Reviewed-by: AnErrupTion <anerruption@disroot.org>
Co-authored-by: Matthew Rothlisberger <mattjrothlis@gmail.com>
Co-committed-by: Matthew Rothlisberger <mattjrothlis@gmail.com>
2025-10-15 13:58:04 +02:00
..
animations Add option for eight-color terminal output (#802) 2025-08-03 23:37:53 +02:00
bigclock Reduce libc usage & move more stuff to interop 2025-08-28 01:39:19 +02:00
config Disable battery status display by default (#852) 2025-10-15 13:58:04 +02:00
tui Remember last session for each user (closes #619) 2025-10-14 21:05:54 +02:00
Environment.zig Execute shell in case exec_cmd is null 2025-10-14 20:02:55 +02:00
SharedError.zig Support Zig 0.14.0 only (with 1 downstream dependency fork) 2025-03-05 19:42:00 +01:00
UidRange.zig Reduce libc usage & move more stuff to interop 2025-08-28 01:39:19 +02:00
auth.zig Add more logs when logging into an X11 session 2025-10-14 20:09:39 +02:00
bigclock.zig Reduce libc usage & move more stuff to interop 2025-08-28 01:39:19 +02:00
enums.zig Implement custom session support (fixes #757) 2025-07-08 22:39:14 +02:00
interop.zig Fix compatibility with Zig 0.15.2 2025-10-14 20:05:50 +02:00
main.zig Fix merge conflict 2025-10-14 21:10:17 +02:00