config: Update config.lua

Signed-off-by: AnErrupTion <anerruption@disroot.org>
This commit is contained in:
AnErrupTion
2026-08-24 16:09:10 +02:00
parent 4e7a599c8a
commit 76a5f73ee5

View File

@@ -1,453 +1,456 @@
ly = { ly = {
-- Ly supports 24-bit true color with styling, which means each color is a 32-bit value. -- Ly supports 24-bit true color with styling, which means each color is a 32-bit value.
-- The format is 0xSSRRGGBB, where SS is the styling, RR is red, GG is green, and BB is blue. -- The format is 0xSSRRGGBB, where SS is the styling, RR is red, GG is green, and BB is blue.
-- Here are the possible styling options: -- Here are the possible styling options:
-- TB_BOLD 0x01000000 -- TB_BOLD 0x01000000
-- TB_UNDERLINE 0x02000000 -- TB_UNDERLINE 0x02000000
-- TB_REVERSE 0x04000000 -- TB_REVERSE 0x04000000
-- TB_ITALIC 0x08000000 -- TB_ITALIC 0x08000000
-- TB_BLINK 0x10000000 -- TB_BLINK 0x10000000
-- TB_HI_BLACK 0x20000000 -- TB_HI_BLACK 0x20000000
-- TB_BRIGHT 0x40000000 -- TB_BRIGHT 0x40000000
-- TB_DIM 0x80000000 -- TB_DIM 0x80000000
-- Programmatically, you'd apply them using the bitwise OR operator (|), but because Ly's -- Programmatically, you'd apply them using the bitwise OR operator (|), but because Ly's
-- configuration doesn't support using it, you have to manually compute the color value. -- configuration doesn't support using it, you have to manually compute the color value.
-- Note that, if you want to use the default color value of the terminal, you can use the -- Note that, if you want to use the default color value of the terminal, you can use the
-- special value 0x00000000. This means that, if you want to use black, you *must* use -- special value 0x00000000. This means that, if you want to use black, you *must* use
-- the styling option TB_HI_BLACK (the RGB values are ignored when using this option). -- the styling option TB_HI_BLACK (the RGB values are ignored when using this option).
-- Allow empty password or not when authenticating -- Allow empty password or not when authenticating
allow_empty_password = true, allow_empty_password = true,
-- The active animation -- The active animation
-- none -> Nothing -- none -> Nothing
-- doom -> PSX DOOM fire -- doom -> PSX DOOM fire
-- matrix -> CMatrix -- matrix -> CMatrix
-- colormix -> Color mixing shader -- colormix -> Color mixing shader
-- gameoflife -> John Conway's Game of Life -- gameoflife -> John Conway's Game of Life
-- dur_file -> .dur file format (https://github.com/cmang/durdraw/tree/master) -- dur_file -> .dur file format (https://github.com/cmang/durdraw/tree/master)
-- lua -> user-made animation written in LuaJIT -- lua -> user-made animation written in LuaJIT
animation = none, animation = "none",
-- Delay between each animation frame in milliseconds -- Delay between each animation frame in milliseconds
animation_frame_delay = 5, animation_frame_delay = 5,
-- Stop the animation after some time -- Stop the animation after some time
-- 0 -> Run forever -- 0 -> Run forever
-- 1..2e12 -> Stop the animation after this many seconds -- 1..2e12 -> Stop the animation after this many seconds
animation_timeout_sec = 0, animation_timeout_sec = 0,
-- The character used to mask the password -- The character used to mask the password
-- You can either type it directly as a UTF-8 character (like *), or use a UTF-32 -- You can either type it directly as a UTF-8 character (like *), or use a UTF-32
-- codepoint (for example 0x2022 for a bullet point) -- codepoint (for example 0x2022 for a bullet point)
-- If null, the password will be hidden -- If null, the password will be hidden
-- Note: you can use a # by escaping it like so: \# -- Note: you can use a # by escaping it like so: \#
asterisk = '*', asterisk = '*',
-- The number of failed authentications before a special animation is played... ;) -- The number of failed authentications before a special animation is played... ;)
-- If set to 0, the animation will never be played -- If set to 0, the animation will never be played
auth_fails = 10, auth_fails = 10,
-- Automatic login configuration -- Automatic login configuration
-- This feature allows Ly to automatically log in a user without password prompt. -- 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. -- IMPORTANT: Both auto_login_user and auto_login_session must be set for this to work.
-- Autologin only happens once at startup - it won't re-trigger after logout. -- Autologin only happens once at startup - it won't re-trigger after logout.
-- PAM service name to use for automatic login -- PAM service name to use for automatic login
-- The default service (ly-autologin) uses pam_permit to allow login without password -- The default service (ly-autologin) uses pam_permit to allow login without password
-- The appropriate platform-specific PAM configuration (ly-autologin) will be used automatically -- The appropriate platform-specific PAM configuration (ly-autologin) will be used automatically
auto_login_service = "ly-autologin", auto_login_service = "ly-autologin",
-- Session name to launch automatically -- Session name to launch automatically
-- To find available session names, check the .desktop files in: -- To find available session names, check the .desktop files in:
-- - /usr/share/xsessions/ (for X11 sessions) -- - /usr/share/xsessions/ (for X11 sessions)
-- - /usr/share/wayland-sessions/ (for Wayland sessions) -- - /usr/share/wayland-sessions/ (for Wayland sessions)
-- Use the filename without .desktop extension, the Name field inside the file or the value of the DesktopNames field -- Use the filename without .desktop extension, the Name field inside the file or the value of the DesktopNames field
-- Examples: "i3", "sway", "gnome", "plasma", "xfce" -- Examples: "i3", "sway", "gnome", "plasma", "xfce"
-- If null, automatic login is disabled -- If null, automatic login is disabled
auto_login_session = nil, auto_login_session = nil,
-- Username to automatically log in -- Username to automatically log in
-- Must be a valid user on the system -- Must be a valid user on the system
-- If null, automatic login is disabled -- If null, automatic login is disabled
auto_login_user = nil, auto_login_user = nil,
-- Identifier for battery whose charge to display at top left -- Identifier for battery whose charge to display at top left
-- Primary battery is usually BAT0 or BAT1 -- Primary battery is usually BAT0 or BAT1
-- If set to null, battery status won't be shown -- If set to null, battery status won't be shown
-- Unused on FreeBSD (a sysctl is used there) -- Unused on FreeBSD (a sysctl is used there)
battery_id = nil, battery_id = nil,
-- Background color id -- Background color id
bg = 0x00000000, bg = 0x00000000,
-- Change the state and language of the big clock -- Change the state and language of the big clock
-- none -> Disabled (default) -- none -> Disabled (default)
-- en -> English -- en -> English
-- fa -> Farsi -- fa -> Farsi
bigclock = "none", bigclock = "none",
-- Set bigclock to 12-hour notation. -- Set bigclock to 12-hour notation.
bigclock_12hr = false, bigclock_12hr = false,
-- Set bigclock to show the seconds. -- Set bigclock to show the seconds.
bigclock_seconds = false, bigclock_seconds = false,
-- Blank main box background -- Blank main box background
-- Setting to false will make it transparent -- Setting to false will make it transparent
blank_box = true, blank_box = true,
-- Border foreground color id -- Border foreground color id
border_fg = 0x00FFFFFF, border_fg = 0x00FFFFFF,
-- Relative horizontal position from the end of the screen -- Relative horizontal position from the end of the screen
-- default: 0.5 -- default: 0.5
box_position_h = 0.5, box_position_h = 0.5,
-- Relative vertical position from the bottom of the screen -- Relative vertical position from the bottom of the screen
-- default: 0.5 -- default: 0.5
box_position_v = 0.5, box_position_v = 0.5,
-- Title to show at the top of the main box -- Title to show at the top of the main box
-- If set to null, none will be shown -- If set to null, none will be shown
box_title = nil, box_title = nil,
-- Brightness decrease command -- Brightness decrease command
brightness_down_cmd = "$PREFIX_DIRECTORY/bin/brightnessctl -q -n s 10%-", brightness_down_cmd = "$PREFIX_DIRECTORY/bin/brightnessctl -q -n s 10%-",
-- Brightness decrease key combination -- Brightness decrease key combination
-- If null, the keybind is disabled and isn't shown -- If null, the keybind is disabled and isn't shown
brightness_down_key = "F5", brightness_down_key = "F5",
-- Brightness increase command -- Brightness increase command
brightness_up_cmd = "$PREFIX_DIRECTORY/bin/brightnessctl -q -n s +10%", brightness_up_cmd = "$PREFIX_DIRECTORY/bin/brightnessctl -q -n s +10%",
-- Brightness increase key combination -- Brightness increase key combination
-- If null, the keybind is disabled and isn't shown -- If null, the keybind is disabled and isn't shown
brightness_up_key = "F6", brightness_up_key = "F6",
-- Erase password input on failure -- Erase password input on failure
clear_password = false, clear_password = false,
-- Format string for clock in top right corner (see strftime specification). Example: %c -- Format string for clock in top right corner (see strftime specification). Example: %c
-- If null, the clock won't be shown -- If null, the clock won't be shown
clock = nil, clock = nil,
-- CMatrix animation foreground color id -- CMatrix animation foreground color id
cmatrix_fg = 0x0000FF00, cmatrix_fg = 0x0000FF00,
-- CMatrix animation character string head color id -- CMatrix animation character string head color id
cmatrix_head_col = 0x01FFFFFF, cmatrix_head_col = 0x01FFFFFF,
-- CMatrix animation minimum codepoint. It uses a 16-bit integer -- CMatrix animation minimum codepoint. It uses a 16-bit integer
-- For Japanese characters for example, you can use 0x3000 here -- For Japanese characters for example, you can use 0x3000 here
cmatrix_min_codepoint = 0x21, cmatrix_min_codepoint = 0x21,
-- CMatrix animation maximum codepoint. It uses a 16-bit integer -- CMatrix animation maximum codepoint. It uses a 16-bit integer
-- For Japanese characters for example, you can use 0x30FF here -- For Japanese characters for example, you can use 0x30FF here
cmatrix_max_codepoint = 0x7B, cmatrix_max_codepoint = 0x7B,
-- Color mixing animation first color id -- Color mixing animation first color id
colormix_col1 = 0x00FF0000, colormix_col1 = 0x00FF0000,
-- Color mixing animation second color id -- Color mixing animation second color id
colormix_col2 = 0x000000FF, colormix_col2 = 0x000000FF,
-- Color mixing animation third color id -- Color mixing animation third color id
colormix_col3 = 0x20000000, colormix_col3 = 0x20000000,
-- Screen corners customization -- Screen corners customization
-- Keywords: -- Keywords:
-- shutdown -> Shutdown key -- shutdown -> Shutdown key
-- restart -> Restart key -- restart -> Restart key
-- britup -> Brightness up key -- britup -> Brightness up key
-- britdown -> Brightness down key -- britdown -> Brightness down key
-- password -> Toggle password key -- password -> Toggle password key
-- clock -> Clock (format defined by 'clock' option) -- clock -> Clock (format defined by 'clock' option)
-- tty -> Active TTY number -- tty -> Active TTY number
-- battery -> Battery percentage -- battery -> Battery percentage
-- version -> Ly version string -- version -> Ly version string
-- numlock -> Numlock state -- numlock -> Numlock state
-- capslock -> Capslock state -- capslock -> Capslock state
-- labels -> All custom info labels (lbl:) -- labels -> All custom info labels (lbl:)
-- binds -> All custom keybind hints (cmd:) -- binds -> All custom keybind hints (cmd:)
-- lbl:name -> Specific custom info label -- lbl:name -> Specific custom info label
-- cmd:key -> Specific custom keybind hint -- cmd:key -> Specific custom keybind hint
-- --
-- If using a keyword that groups multiple labels into one (e.g. labels, binds), -- If using a keyword that groups multiple labels into one (e.g. labels, binds),
-- they'll be placed horizontally -- they'll be placed horizontally
-- --
-- Also, the order defines the vertical stack (first item is at the edge) -- Also, the order defines the vertical stack (first item is at the edge)
-- If items are separted by commas, they'll be placed horizontally -- 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 -- It is possible to have both horizontal and vertical items on the same corner
-- Bottom left -- Bottom left
corner_bottom_left = "version", corner_bottom_left = "version",
-- Bottom right -- Bottom right
corner_bottom_right = "labels", corner_bottom_right = "labels",
-- Top left -- Top left
corner_top_left = "shutdown,restart,britup,britdown,password battery", corner_top_left = "shutdown,restart,britup,britdown,password battery",
-- Top right -- Top right
corner_top_right = "clock numlock,capslock", corner_top_right = "clock numlock,capslock",
-- For custom binds: the horizontal limit in characters for each -- For custom binds: the horizontal limit in characters for each
-- line of custom binds before moving on to the next. -- line of custom binds before moving on to the next.
-- If null, defaults to the width of the terminal instead. -- If null, defaults to the width of the terminal instead.
custom_bind_width = nil, custom_bind_width = nil,
-- Custom sessions directory -- Custom sessions directory
-- You can specify multiple directories, -- You can specify multiple directories,
-- e.g. $CONFIG_DIRECTORY/ly/custom-sessions:$PREFIX_DIRECTORY/share/custom-sessions -- e.g. $CONFIG_DIRECTORY/ly/custom-sessions:$PREFIX_DIRECTORY/share/custom-sessions
custom_sessions = "$CONFIG_DIRECTORY/ly/custom-sessions", custom_sessions = "$CONFIG_DIRECTORY/ly/custom-sessions",
-- Input box active by default on startup -- Input box active by default on startup
-- Available inputs: info_line, session, login, password -- Available inputs: info_line, session, login, password
default_input = "login", default_input = "login",
-- DOOM animation fire height (1 thru 9) -- DOOM animation fire height (1 thru 9)
doom_fire_height = 6, doom_fire_height = 6,
-- DOOM animation fire spread (0 thru 4) -- DOOM animation fire spread (0 thru 4)
doom_fire_spread = 2, doom_fire_spread = 2,
-- DOOM animation custom top color (low intensity flames) -- DOOM animation custom top color (low intensity flames)
doom_top_color = 0x009F2707, doom_top_color = 0x009F2707,
-- DOOM animation custom middle color (medium intensity flames) -- DOOM animation custom middle color (medium intensity flames)
doom_middle_color = 0x00C78F17, doom_middle_color = 0x00C78F17,
-- DOOM animation custom bottom color (high intensity flames) -- DOOM animation custom bottom color (high intensity flames)
doom_bottom_color = 0x00FFFFFF, doom_bottom_color = 0x00FFFFFF,
-- Dur file path -- Dur file path
dur_file_path = "$CONFIG_DIRECTORY/ly/example.dur", dur_file_path = "$CONFIG_DIRECTORY/ly/example.dur",
-- Dur file alignment -- Dur file alignment
-- The dur file can be aligned with a direction and centered easily with the flags below -- The dur file can be aligned with a direction and centered easily with the flags below
-- Available inputs: topleft, topcenter, topright, centerleft, center, centerright, bottomleft, bottomcenter, bottomright -- Available inputs: topleft, topcenter, topright, centerleft, center, centerright, bottomleft, bottomcenter, bottomright
dur_offset_alignment = "center", dur_offset_alignment = "center",
-- Dur offset x direction (value is added to the current position determined by alignment, negatives are supported) -- Dur offset x direction (value is added to the current position determined by alignment, negatives are supported)
dur_x_offset = 0, dur_x_offset = 0,
-- Dur offset y direction (value is added to the current position determined by alignment, negatives are supported) -- Dur offset y direction (value is added to the current position determined by alignment, negatives are supported)
dur_y_offset = 0, dur_y_offset = 0,
-- Set margin to the edges of the DM (useful for curved monitors) -- Set margin to the edges of the DM (useful for curved monitors)
edge_margin = 0, edge_margin = 0,
-- Error background color id -- Error background color id
error_bg = 0x00000000, error_bg = 0x00000000,
-- Error foreground color id -- Error foreground color id
-- Default is red and bold -- Default is red and bold
error_fg = 0x01FF0000, error_fg = 0x01FF0000,
-- Foreground color id -- Foreground color id
fg = 0x00FFFFFF, fg = 0x00FFFFFF,
-- Render true colors (if supported) -- Render true colors (if supported)
-- If false, output will be in eight-color mode -- If false, output will be in eight-color mode
-- All eight-color mode color codes: -- All eight-color mode color codes:
-- TB_DEFAULT 0x0000 -- TB_DEFAULT 0x0000
-- TB_BLACK 0x0001 -- TB_BLACK 0x0001
-- TB_RED 0x0002 -- TB_RED 0x0002
-- TB_GREEN 0x0003 -- TB_GREEN 0x0003
-- TB_YELLOW 0x0004 -- TB_YELLOW 0x0004
-- TB_BLUE 0x0005 -- TB_BLUE 0x0005
-- TB_MAGENTA 0x0006 -- TB_MAGENTA 0x0006
-- TB_CYAN 0x0007 -- TB_CYAN 0x0007
-- TB_WHITE 0x0008 -- TB_WHITE 0x0008
-- If full color is off, the styling options still work. The colors are -- If full color is off, the styling options still work. The colors are
-- always 32-bit values with the styling in the most significant byte. -- always 32-bit values with the styling in the most significant byte.
-- Note: If using the dur_file animation option and the dur file's color range -- Note: If using the dur_file animation option and the dur file's color range
-- is saved as 256 with this option disabled, the file will not be drawn. -- is saved as 256 with this option disabled, the file will not be drawn.
full_color = true, full_color = true,
-- Game of Life entropy interval (0 = disabled, >0 = add entropy every N generations), -- Game of Life entropy interval (0 = disabled, >0 = add entropy every N generations),
-- 0 -> Pure Conway's Game of Life (will eventually stabilize) -- 0 -> Pure Conway's Game of Life (will eventually stabilize)
-- 10 -> Add entropy every 10 generations (recommended for continuous activity) -- 10 -> Add entropy every 10 generations (recommended for continuous activity)
-- 50+ -> Less frequent entropy for more natural evolution -- 50+ -> Less frequent entropy for more natural evolution
gameoflife_entropy_interval = 10, gameoflife_entropy_interval = 10,
-- Game of Life animation foreground color id -- Game of Life animation foreground color id
gameoflife_fg = 0x0000FF00, gameoflife_fg = 0x0000FF00,
-- Game of Life frame delay (lower = faster animation, higher = slower), -- Game of Life frame delay (lower = faster animation, higher = slower),
-- 1-3 -> Very fast animation -- 1-3 -> Very fast animation
-- 6 -> Default smooth animation speed -- 6 -> Default smooth animation speed
-- 10+ -> Slower, more contemplative speed -- 10+ -> Slower, more contemplative speed
gameoflife_frame_delay = 6, gameoflife_frame_delay = 6,
-- Game of Life initial cell density (0.0 to 1.0) -- Game of Life initial cell density (0.0 to 1.0)
-- 0.1 -> Sparse, minimal activity -- 0.1 -> Sparse, minimal activity
-- 0.4 -> Balanced activity (recommended) -- 0.4 -> Balanced activity (recommended)
-- 0.7+ -> Dense, chaotic patterns -- 0.7+ -> Dense, chaotic patterns
gameoflife_initial_density = 0.4, gameoflife_initial_density = 0.4,
-- Remove main box borders -- Remove main box borders
hide_borders = false, hide_borders = false,
-- Command executed when no input is detected for a certain time -- Command executed when no input is detected for a certain time
-- If null, no command will be executed -- If null, no command will be executed
inactivity_cmd = nil, inactivity_cmd = nil,
-- Executes a command after a certain amount of seconds -- Executes a command after a certain amount of seconds
inactivity_delay = 0, inactivity_delay = 0,
-- Initial text to show on the info line -- Initial text to show on the info line
-- If set to null, the info line defaults to the hostname -- If set to null, the info line defaults to the hostname
initial_info_text = nil, initial_info_text = nil,
-- Input boxes length -- Input boxes length
input_len = 34, input_len = 34,
-- Active language -- Active language
-- Available languages are found in $CONFIG_DIRECTORY/ly/lang/ -- Available languages are found in $CONFIG_DIRECTORY/ly/lang/
lang = "en", lang = "en",
-- Command executed when logging in -- Command executed when logging in
-- If null, no command will be executed -- If null, no command will be executed
-- Important: the code itself must end with `exec "$@"` in order to launch the session! -- Important: the code itself must end with `exec "$@"` in order to launch the session!
-- You can also set environment variables in there, they'll persist until logout -- You can also set environment variables in there, they'll persist until logout
login_cmd = nil, login_cmd = nil,
-- Path for login.defs file (used for listing all local users on the system on -- Path for login.defs file (used for listing all local users on the system on
-- Linux) -- Linux)
login_defs_path = "/etc/login.defs", login_defs_path = "/etc/login.defs",
-- Command executed when logging out -- Command executed when logging out
-- If null, no command will be executed -- If null, no command will be executed
-- Important: the session will already be terminated when this command is executed, so -- Important: the session will already be terminated when this command is executed, so
-- no need to add `exec "$@"` at the end -- no need to add `exec "$@"` at the end
logout_cmd = nil, logout_cmd = nil,
-- The file pointing to the Lua file to be used when using the Lua animation option -- The file pointing to the Lua file to be used when using the Lua animation option
lua_animation_file = "$CONFIG_DIRECTORY/ly/example.lua", lua_animation_file = "$CONFIG_DIRECTORY/ly/example.lua",
-- General log file path -- General log file path
-- If null, syslog will be used instead -- If null, syslog will be used instead
ly_log = "/var/log/ly.log", ly_log = "/var/log/ly.log",
-- Main box horizontal margin -- Main box horizontal margin
margin_box_h = 2, margin_box_h = 2,
-- Main box vertical margin -- Main box vertical margin
margin_box_v = 1, margin_box_v = 1,
-- Set numlock on/off at startup -- Set numlock on/off at startup
numlock = false, numlock = false,
-- Default path -- Default path
-- If null, ly doesn't set a path -- If null, ly doesn't set a path
path = "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin", path = "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
-- Specifies the key combination used for restart -- Specifies the key combination used for restart
-- If null, the keybind is disabled and isn't shown -- If null, the keybind is disabled and isn't shown
restart_key = "F2", restart_key = "F2",
-- Absolute directory for the save file -- Absolute directory for the save file
-- If null, current desktop & login won't be saved nor loaded -- If null, current desktop & login won't be saved nor loaded
save_file_dir = "$CONFIG_DIRECTORY/ly", save_file_dir = "$CONFIG_DIRECTORY/ly",
-- Service name (set to ly to use the provided pam config file) -- Service name (set to ly to use the provided pam config file)
service_name = "ly", service_name = "ly",
-- Session log file path -- Session log file path
-- This will contain stdout and stderr of Wayland sessions -- This will contain stdout and stderr of Wayland sessions
-- By default it's saved in the user's home directory -- By default it's saved in the user's home directory
-- Important: due to technical limitations, X11, shell sessions as well as -- Important: due to technical limitations, X11, shell sessions as well as
-- launching session via KMSCON aren't supported, which means you won't get any -- launching session via KMSCON aren't supported, which means you won't get any
-- logs from those sessions. -- logs from those sessions.
-- If null, no session log will be created -- If null, no session log will be created
session_log = ".local/state/ly-session.log", session_log = ".local/state/ly-session.log",
-- Setup command -- Setup command
setup_cmd = "$CONFIG_DIRECTORY/ly/setup.sh", setup_cmd = "$CONFIG_DIRECTORY/ly/setup.sh",
-- Show the shell session in the session list -- Show the shell session in the session list
-- If false, the shell session will be hidden -- If false, the shell session will be hidden
shell = true, shell = true,
-- Specifies the key combination used for showing the password -- Specifies the key combination used for showing the password
-- If null, the keybind is disabled and isn't shown -- If null, the keybind is disabled and isn't shown
show_password_key = "F7", show_password_key = "F7",
-- Specifies the key combination used for shutdown -- Specifies the key combination used for shutdown
-- If null, the keybind is disabled and isn't shown -- If null, the keybind is disabled and isn't shown
shutdown_key = "F1", shutdown_key = "F1",
-- Command executed when starting Ly (before the TTY is taken control of) -- Command executed when starting Ly (before the TTY is taken control of)
-- See file at path below for an example of changing the default TTY colors -- See file at path below for an example of changing the default TTY colors
start_cmd = "$CONFIG_DIRECTORY/ly/startup.sh", start_cmd = "$CONFIG_DIRECTORY/ly/startup.sh",
-- Center the session name. -- Center the session name.
text_in_center = false, text_in_center = false,
-- If true, user will need to manually type username instead of selecting from the list -- If true, user will need to manually type username instead of selecting from the list
-- of discovered users -- of discovered users
type_username = false, type_username = false,
-- Default vi mode -- Default vi mode
-- normal -> normal mode -- normal -> normal mode
-- insert -> insert mode -- insert -> insert mode
vi_default_mode = "normal", vi_default_mode = "normal",
-- Enable vi keybindings -- Enable vi keybindings
vi_mode = false, vi_mode = false,
-- Wayland desktop environments -- Wayland desktop environments
-- You can specify multiple directories, -- You can specify multiple directories,
-- e.g. $PREFIX_DIRECTORY/share/wayland-sessions:$PREFIX_DIRECTORY/local/share/wayland-sessions -- e.g. $PREFIX_DIRECTORY/share/wayland-sessions:$PREFIX_DIRECTORY/local/share/wayland-sessions
-- If null, Wayland sessions will not be shown -- If null, Wayland sessions will not be shown
waylandsessions = "$PREFIX_DIRECTORY/share/wayland-sessions", waylandsessions = "$PREFIX_DIRECTORY/share/wayland-sessions",
-- Xorg server command -- Xorg server command
-- Add the -quiet argument to hide startup logs from the server -- Add the -quiet argument to hide startup logs from the server
x_cmd = "$PREFIX_DIRECTORY/bin/X", x_cmd = "$PREFIX_DIRECTORY/bin/X",
-- Xorg virtual terminal number -- Xorg virtual terminal number
-- Mostly useful for FreeBSD where choosing the current TTY causes issues -- Mostly useful for FreeBSD where choosing the current TTY causes issues
-- If null, the current TTY will be chosen -- If null, the current TTY will be chosen
x_vt = nil, x_vt = nil,
-- Xorg xauthority edition tool -- Xorg xauthority edition tool
xauth_cmd = "$PREFIX_DIRECTORY/bin/xauth", xauth_cmd = "$PREFIX_DIRECTORY/bin/xauth",
-- xinitrc -- xinitrc
-- If null, the xinitrc session will be hidden -- If null, the xinitrc session will be hidden
xinitrc = "~/.xinitrc", xinitrc = "~/.xinitrc",
-- Xorg desktop environments -- Xorg desktop environments
-- You can specify multiple directories, -- You can specify multiple directories,
-- e.g. $PREFIX_DIRECTORY/share/xsessions:$PREFIX_DIRECTORY/local/share/xsessions -- e.g. $PREFIX_DIRECTORY/share/xsessions:$PREFIX_DIRECTORY/local/share/xsessions
-- If null, X11 sessions will not be shown -- If null, X11 sessions will not be shown
xsessions = "$PREFIX_DIRECTORY/share/xsessions", xsessions = "$PREFIX_DIRECTORY/share/xsessions",
-- Custom Commands and Labels: -- Custom Commands and Labels:
-- The following examples below give an outline for setting up custom commands and labels. -- The following examples below give an outline for setting up custom commands and labels.
-- Unless specified as optional, an option is mandatory. -- Unless specified as optional, an option is mandatory.
-- Comments preceding with '##' are for documentation. -- Comments preceding with '-- --' are for documentation.
-- Comments preceding with '#' comment out the example INI. -- Comments preceding with '--' comment out the example code.
--# Declare a command with the F8 binding. -- custom_commands = {
--[cmd:F8] -- -- Declare a command with the F8 binding.
--# The name of the command to show up in Ly. -- binding = "F8",
--# Note: "$" in "$brightness_up" fetches the appropriate string from the specified locale file -- -- The name of the command to show up in Ly.
--# and is replaced with the value representing "brightness_up". -- -- Note: "$" in "$brightness_up" fetches the appropriate string from the specified locale file
--# You can see the list of keys in any locale file in $CONFIG_DIRECTORY/ly/lang. -- -- and is replaced with the value representing "brightness_up".
--cmd = touch /tmp/ly.gaming, -- -- You can see the list of keys in any locale file in $CONFIG_DIRECTORY/ly/lang.name = "custom command $brightness_up",
--name = custom command $brightness_up, -- cmd = "touch /tmp/ly.gaming",
-- },
--# Declare a label with an ID. This ID should be unique across all labels.
--[lbl:kernel] -- custom_labels = {
--cmd = uname -srn, -- -- Declare a label with an ID. This ID should be unique across all labels.
--# Optional, defaulting to 0. -- label = "kernel",
--# In frames, the time to re-run the command and update the label. -- cmd = "uname -srn",
--# If 0, only run once and do not refresh afterwards -- -- Optional, defaulting to 0.
--refresh = 0, -- -- In frames, the time to re-run the command and update the label.
-- -- If 0, only run once and do not refresh afterwards
-- refresh = 0,
-- }
} }