config: Order battery_id alphabetically

Signed-off-by: AnErrupTion <anerruption@disroot.org>
This commit is contained in:
AnErrupTion 2026-07-06 19:57:29 +02:00
parent 26377fd319
commit 7e6474924c
No known key found for this signature in database
2 changed files with 7 additions and 7 deletions

View File

@ -47,12 +47,6 @@ asterisk = *
# If set to 0, the animation will never be played
auth_fails = 10
# Identifier for battery whose charge to display at top left
# Primary battery is usually BAT0 or BAT1
# If set to null, battery status won't be shown
# Unused on FreeBSD (a sysctl is used there)
battery_id = null
# Automatic login configuration
# This feature allows Ly to automatically log in a user without password prompt.
# IMPORTANT: Both auto_login_user and auto_login_session must be set for this to work.
@ -77,6 +71,12 @@ auto_login_session = null
# If null, automatic login is disabled
auto_login_user = null
# Identifier for battery whose charge to display at top left
# Primary battery is usually BAT0 or BAT1
# If set to null, battery status won't be shown
# Unused on FreeBSD (a sysctl is used there)
battery_id = null
# Background color id
bg = 0x00000000

View File

@ -13,10 +13,10 @@ animation_frame_delay: u16 = 5,
animation_timeout_sec: u12 = 0,
asterisk: ?u32 = '*',
auth_fails: u64 = 10,
battery_id: ?[]const u8 = null,
auto_login_service: [:0]const u8 = "ly-autologin",
auto_login_session: ?[]const u8 = null,
auto_login_user: ?[]const u8 = null,
battery_id: ?[]const u8 = null,
bg: u32 = 0x00000000,
bigclock: Bigclock = .none,
bigclock_12hr: bool = false,