Support more configurable keybindings (closes #679)

Signed-off-by: AnErrupTion <anerruption@disroot.org>
This commit is contained in:
AnErrupTion
2026-02-09 11:11:00 +01:00
parent cf5f62661c
commit 852a602032
4 changed files with 1286 additions and 298 deletions

View File

@@ -233,7 +233,7 @@ gameoflife_initial_density = 0.4
# Command executed when pressing hibernate key (can be null)
hibernate_cmd = null
# Specifies the key used for hibernate (F1-F12)
# Specifies the key used for hibernate
hibernate_key = F4
# Remove main box borders
@@ -304,7 +304,7 @@ path = /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
# Command executed when pressing restart_key
restart_cmd = /sbin/shutdown -r now
# Specifies the key used for restart (F1-F12)
# Specifies the key used for restart
restart_key = F2
# Save the current desktop and login as defaults, and load them on startup
@@ -328,13 +328,13 @@ setup_cmd = $CONFIG_DIRECTORY/ly/setup.sh
# Command executed when pressing shutdown_key
shutdown_cmd = /sbin/shutdown $PLATFORM_SHUTDOWN_ARG now
# Specifies the key used for shutdown (F1-F12)
# Specifies the key used for shutdown
shutdown_key = F1
# Command executed when pressing sleep key (can be null)
sleep_cmd = null
# Specifies the key used for sleep (F1-F12)
# Specifies the key used for sleep
sleep_key = F3
# Command executed when starting Ly (before the TTY is taken control of)