mirror of
https://github.com/fairyglade/ly.git
synced 2025-12-20 19:24:53 +00:00
* Fix stray cursor, integer overflows and other bugs * check for getenvlist error, shorten code * fix cascade, set info_line before auth, make code clearer and a bug fix * Add option to turn on numlock at startup * Fix setting numlock * Update build.zig * Custom info text * Shift+Tab for previous input * update changelog and res/config * Some fixes * update build.zig * update build.zig again * Fix xauth command for some shells and fix building in ReleaseSafe * Use git describe to get dev version str * revert change to getLockState (it broke the doom animation) * add new ly error messages. Only try to make path for pam/exe during install when dest_directory is defined + print warning on error. * add warning message for workaround
53 lines
1.7 KiB
Markdown
53 lines
1.7 KiB
Markdown
# Zig Rewrite (Version 1.0.0)
|
|
|
|
## Config Options
|
|
|
|
res/config.ini contains all of the available config options and their default values.
|
|
|
|
### Additions
|
|
|
|
+ `border_fg` has been introduced to change the color of the borders.
|
|
+ `term_restore_cursor_cmd` should restore the cursor to it's usual state.
|
|
+ `vi_mode` to enable vi keybindings.
|
|
+ `sleep_key` and `sleep_cmd`.
|
|
+ `numlock` to set numlock on startup.
|
|
+ `initial_info_text` allows changing the initial text on the info line.
|
|
+ `box_title` to display a title at the top of the main box
|
|
|
|
Note: `sleep_cmd` is unset by default, meaning it's hidden and has no effect.
|
|
|
|
### Changes
|
|
|
|
+ xinitrc can be set to null to hide it.
|
|
+ `blank_password` has been renamed to `clear_password`.
|
|
+ `save_file` has been deprecated and will be removed in a future version.
|
|
|
|
### Removals
|
|
|
|
+ `wayland_specifier` has been removed.
|
|
|
|
## Save File
|
|
|
|
The save file is now in .ini format and stored in the same directory as the config.
|
|
Older save files will be migrated to the new format.
|
|
|
|
Example:
|
|
|
|
```ini
|
|
user = ash
|
|
session_index = 0
|
|
```
|
|
|
|
## Misc
|
|
|
|
+ Display server name added next to selected session.
|
|
+ getty@tty2 has been added as a conflict in res/ly.service, so if it is running, ly should still be able to start.
|
|
+ `XDG_CURRENT_DESKTOP` is now set by ly.
|
|
+ LANG is no longer set by ly.
|
|
+ X Server PID is fetched from /tmp/X{d}.lock to be able to kill the process since it detaches.
|
|
+ Non .desktop files are now ignored in sessions directory.
|
|
+ PAM auth is now done in a child process. (Fixes some issues with logging out and back in).
|
|
+ When ly receives SIGTERM, the terminal is now cleared and existing child processes are cleaned up.
|
|
+ Shift+Tab now focuses previous input.
|
|
+ Display text in the info line when authenticating.
|