Allow toggling visibility of shutdown, restart & show password keybinds

(closes #993)

Signed-off-by: AnErrupTion <anerruption@disroot.org>
This commit is contained in:
AnErrupTion
2026-07-06 21:18:49 +02:00
parent 018d797ed6
commit e4e399cd07
3 changed files with 26 additions and 32 deletions

View File

@@ -79,14 +79,14 @@ margin_box_h: u8 = 2,
margin_box_v: u8 = 1,
numlock: bool = false,
path: ?[]const u8 = "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
restart_key: []const u8 = "F2",
restart_key: ?[]const u8 = "F2",
save: bool = true,
service_name: [:0]const u8 = "ly",
session_log: ?[]const u8 = "ly-session.log",
setup_cmd: []const u8 = build_options.config_directory ++ "/ly/setup.sh",
shell: bool = true,
show_password_key: []const u8 = "F7",
shutdown_key: []const u8 = "F1",
show_password_key: ?[]const u8 = "F7",
shutdown_key: ?[]const u8 = "F1",
start_cmd: ?[]const u8 = null,
text_in_center: bool = false,
type_username: bool = false,