config.ini 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307
  1. # Ly supports 24-bit true color with styling, which means each color is a 32-bit value.
  2. # The format is 0xSSRRGGBB, where SS is the styling, RR is red, GG is green, and BB is blue.
  3. # Here are the possible styling options:
  4. # TB_BOLD 0x01000000
  5. # TB_UNDERLINE 0x02000000
  6. # TB_REVERSE 0x04000000
  7. # TB_ITALIC 0x08000000
  8. # TB_BLINK 0x10000000
  9. # TB_HI_BLACK 0x20000000
  10. # TB_BRIGHT 0x40000000
  11. # TB_DIM 0x80000000
  12. # Programmatically, you'd apply them using the bitwise OR operator (|), but because Ly's
  13. # configuration doesn't support using it, you have to manually compute the color value.
  14. # Note that, if you want to use the default color value of the terminal, you can use the
  15. # special value 0x00000000. This means that, if you want to use black, you *must* use
  16. # the styling option TB_HI_BLACK (the RGB values are ignored when using this option).
  17. # Allow empty password or not when authenticating
  18. allow_empty_password = false
  19. # The active animation
  20. # none -> Nothing
  21. # doom -> PSX DOOM fire
  22. # matrix -> CMatrix
  23. # colormix -> Color mixing shader
  24. # gameoflife -> John Conway's Game of Life
  25. animation = colormix
  26. # Stop the animation after some time
  27. # 0 -> Run forever
  28. # 1..2e12 -> Stop the animation after this many seconds
  29. animation_timeout_sec = 0
  30. # The character used to mask the password
  31. # You can either type it directly as a UTF-8 character (like *), or use a UTF-32
  32. # codepoint (for example 0x2022 for a bullet point)
  33. # If null, the password will be hidden
  34. # Note: you can use a # by escaping it like so: \#
  35. asterisk = *
  36. # The number of failed authentications before a special animation is played... ;)
  37. auth_fails = 10
  38. # Identifier for battery whose charge to display at top left
  39. # Primary battery is usually BAT0 or BAT1
  40. # If set to null, battery status won't be shown
  41. battery_id = BAT1
  42. # Background color id
  43. bg = 0x00000000
  44. # Change the state and language of the big clock
  45. # none -> Disabled (default)
  46. # en -> English
  47. # fa -> Farsi
  48. bigclock = en
  49. # Set bigclock to 12-hour notation.
  50. bigclock_12hr = false
  51. # Set bigclock to show the seconds.
  52. bigclock_seconds = true
  53. # Blank main box background
  54. # Setting to false will make it transparent
  55. blank_box = true
  56. # Border foreground color id
  57. border_fg = 0x00FFFFFF
  58. # Title to show at the top of the main box
  59. # If set to null, none will be shown
  60. box_title = "te4gh0st LLC"
  61. # Brightness decrease command
  62. brightness_down_cmd = /usr/bin/brightnessctl -q -n s 10%-
  63. # Brightness decrease key, or null to disable
  64. brightness_down_key = F5
  65. # Brightness increase command
  66. brightness_up_cmd = /usr/bin/brightnessctl -q -n s +10%
  67. # Brightness increase key, or null to disable
  68. brightness_up_key = F6
  69. # Erase password input on failure
  70. clear_password = true
  71. # Format string for clock in top right corner (see strftime specification). Example: %c
  72. # If null, the clock won't be shown
  73. clock = %A%n%d.%m.%Y%n%H:%M
  74. # CMatrix animation foreground color id
  75. cmatrix_fg = 0x0000FF00
  76. # CMatrix animation character string head color id
  77. cmatrix_head_col = 0x01FFFFFF
  78. # CMatrix animation minimum codepoint. It uses a 16-bit integer
  79. # For Japanese characters for example, you can use 0x3000 here
  80. cmatrix_min_codepoint = 0x21
  81. # CMatrix animation maximum codepoint. It uses a 16-bit integer
  82. # For Japanese characters for example, you can use 0x30FF here
  83. cmatrix_max_codepoint = 0x7B
  84. # Color mixing animation first color id
  85. colormix_col1 = 0x00FF0000
  86. # Color mixing animation second color id
  87. colormix_col2 = 0x000000FF
  88. # Color mixing animation third color id
  89. colormix_col3 = 0x20000000
  90. # Custom sessions directory
  91. # You can specify multiple directories,
  92. # e.g. /etc/ly/custom-sessions:/usr/share/custom-sessions
  93. custom_sessions = /etc/ly/custom-sessions
  94. # Input box active by default on startup
  95. # Available inputs: info_line, session, login, password
  96. default_input = password
  97. # DOOM animation fire height (1 thru 9)
  98. doom_fire_height = 6
  99. # DOOM animation fire spread (0 thru 4)
  100. doom_fire_spread = 2
  101. # DOOM animation custom top color (low intensity flames)
  102. doom_top_color = 0x009F2707
  103. # DOOM animation custom middle color (medium intensity flames)
  104. doom_middle_color = 0x00C78F17
  105. # DOOM animation custom bottom color (high intensity flames)
  106. doom_bottom_color = 0x00FFFFFF
  107. # Error background color id
  108. error_bg = 0x00000000
  109. # Error foreground color id
  110. # Default is red and bold
  111. error_fg = 0x01FF0000
  112. # Foreground color id
  113. fg = 0x00FFFFFF
  114. # Render true colors (if supported)
  115. # If false, output will be in eight-color mode
  116. # All eight-color mode color codes:
  117. # TB_DEFAULT 0x0000
  118. # TB_BLACK 0x0001
  119. # TB_RED 0x0002
  120. # TB_GREEN 0x0003
  121. # TB_YELLOW 0x0004
  122. # TB_BLUE 0x0005
  123. # TB_MAGENTA 0x0006
  124. # TB_CYAN 0x0007
  125. # TB_WHITE 0x0008
  126. # If full color is off, the styling options still work. The colors are
  127. # always 32-bit values with the styling in the most significant byte.
  128. full_color = true
  129. # Game of Life entropy interval (0 = disabled, >0 = add entropy every N generations)
  130. # 0 -> Pure Conway's Game of Life (will eventually stabilize)
  131. # 10 -> Add entropy every 10 generations (recommended for continuous activity)
  132. # 50+ -> Less frequent entropy for more natural evolution
  133. gameoflife_entropy_interval = 10
  134. # Game of Life animation foreground color id
  135. gameoflife_fg = 0x0000FF00
  136. # Game of Life frame delay (lower = faster animation, higher = slower)
  137. # 1-3 -> Very fast animation
  138. # 6 -> Default smooth animation speed
  139. # 10+ -> Slower, more contemplative speed
  140. gameoflife_frame_delay = 6
  141. # Game of Life initial cell density (0.0 to 1.0)
  142. # 0.1 -> Sparse, minimal activity
  143. # 0.4 -> Balanced activity (recommended)
  144. # 0.7+ -> Dense, chaotic patterns
  145. gameoflife_initial_density = 0.4
  146. # Remove main box borders
  147. hide_borders = false
  148. # Remove power management command hints
  149. hide_key_hints = false
  150. # Remove version number from the top left corner
  151. hide_version_string = false
  152. # Initial text to show on the info line
  153. # If set to null, the info line defaults to the hostname
  154. initial_info_text = null
  155. # Input boxes length
  156. input_len = 34
  157. # Active language
  158. # Available languages are found in /etc/ly/lang/
  159. lang = ru
  160. # Command executed when logging in
  161. # If null, no command will be executed
  162. # Important: the code itself must end with `exec "$@"` in order to launch the session!
  163. # You can also set environment variables in there, they'll persist until logout
  164. login_cmd = null
  165. # Path for login.defs file (used for listing all local users on the system on
  166. # Linux)
  167. login_defs_path = /etc/login.defs
  168. # Command executed when logging out
  169. # If null, no command will be executed
  170. # Important: the session will already be terminated when this command is executed, so
  171. # no need to add `exec "$@"` at the end
  172. logout_cmd = null
  173. # General log file path
  174. ly_log = /var/log/ly.log
  175. # Main box horizontal margin
  176. margin_box_h = 2
  177. # Main box vertical margin
  178. margin_box_v = 1
  179. # Event timeout in milliseconds
  180. min_refresh_delta = 5
  181. # Set numlock on/off at startup
  182. numlock = false
  183. # Default path
  184. # If null, ly doesn't set a path
  185. path = /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  186. # Command executed when pressing restart_key
  187. restart_cmd = /sbin/shutdown -r now
  188. # Specifies the key used for restart (F1-F12)
  189. restart_key = F2
  190. # Save the current desktop and login as defaults, and load them on startup
  191. save = true
  192. # Service name (set to ly to use the provided pam config file)
  193. service_name = ly
  194. # Session log file path
  195. # This will contain stdout and stderr of Wayland sessions
  196. # By default it's saved in the user's home directory
  197. # Important: due to technical limitations, X11 and shell sessions aren't supported, which
  198. # means you won't get any logs from those sessions.
  199. # If null, no session log will be created
  200. session_log = ly-session.log
  201. # Setup command
  202. setup_cmd = /etc/ly/setup.sh
  203. # Command executed when pressing shutdown_key
  204. shutdown_cmd = /sbin/shutdown -a now
  205. # Specifies the key used for shutdown (F1-F12)
  206. shutdown_key = F1
  207. # Command executed when pressing sleep key (can be null)
  208. sleep_cmd = null
  209. # Specifies the key used for sleep (F1-F12)
  210. sleep_key = F3
  211. # Center the session name.
  212. text_in_center = false
  213. # Default vi mode
  214. # normal -> normal mode
  215. # insert -> insert mode
  216. vi_default_mode = normal
  217. # Enable vi keybindings
  218. vi_mode = false
  219. # Wayland desktop environments
  220. # You can specify multiple directories,
  221. # e.g. /usr/share/wayland-sessions:/usr/local/share/wayland-sessions
  222. waylandsessions = /usr/share/wayland-sessions
  223. # Xorg server command
  224. x_cmd = /usr/bin/X
  225. # Xorg xauthority edition tool
  226. xauth_cmd = /usr/bin/xauth
  227. # xinitrc
  228. # If null, the xinitrc session will be hidden
  229. xinitrc = ~/.xinitrc
  230. # Xorg desktop environments
  231. # You can specify multiple directories,
  232. # e.g. /usr/share/xsessions:/usr/local/share/xsessions
  233. xsessions = /usr/share/xsessions