config: Better document corner customisation

Signed-off-by: AnErrupTion <anerruption@disroot.org>
This commit is contained in:
AnErrupTion 2026-07-06 17:32:49 +02:00
parent 954e90b3bd
commit e1696a4e73
No known key found for this signature in database
2 changed files with 10 additions and 5 deletions

View File

@ -167,7 +167,12 @@ colormix_col3 = 0x20000000
# lbl:name -> Specific custom info label
# cmd:key -> Specific custom keybind hint
#
# The order defines the vertical stack (first item is at the edge).
# If using a keyword that groups multiple labels into one (e.g. keys, labels,
# binds, ...), they'll be placed horizontally
#
# Also, the order defines the vertical stack (first item is at the edge)
# If items are separted by commas, they'll be placed horizontally
# It is possible to have both horizontal and vertical items on the same corner
# Bottom left
corner_bottom_left = version
@ -176,10 +181,10 @@ corner_bottom_left = version
corner_bottom_right = labels
# Top left
corner_top_left = keys
corner_top_left = keys battery
# Top right
corner_top_right = clock
corner_top_right = clock numlock,capslock
# For custom binds: the horizontal limit in characters for each
# line of custom binds before moving on to the next.

View File

@ -41,8 +41,8 @@ colormix_col2: u32 = 0x000000FF,
colormix_col3: u32 = 0x20000000,
corner_bottom_left: []const u8 = "version",
corner_bottom_right: []const u8 = "labels",
corner_top_left: []const u8 = "keys",
corner_top_right: []const u8 = "clock",
corner_top_left: []const u8 = "keys battery",
corner_top_right: []const u8 = "clock numlock,capslock",
custom_bind_width: ?u32 = null,
custom_sessions: []const u8 = build_options.config_directory ++ "/ly/custom-sessions",
default_input: Input = .login,