Add option to change shutdown/reboot keys (#487)

Include options in the configuration to change which function keys to use for shutdown and reboot.
Fix config.map_len size in src/config.c.
Add missing defaults in config_defaults() in src/config.c.
This commit is contained in:
lolicon0930
2023-06-20 11:22:38 +00:00
committed by GitHub
parent 0edb0012ab
commit 42bf929756
23 changed files with 150 additions and 86 deletions

View File

@@ -16,7 +16,7 @@ Ly is a lightweight TUI (ncurses-like) display manager for Linux and BSD.
- tput
- shutdown
On Debian-based distros running `apt install build-essential libpam0g-dev libxcb-xkb-dev` as root should install all the dependencies for you.
On Debian-based distros running `apt install build-essential libpam0g-dev libxcb-xkb-dev` as root should install all the dependencies for you.
For Fedora try running `dnf install make automake gcc gcc-c++ kernel-devel pam-devel libxcb-devel`
## Support
@@ -27,7 +27,7 @@ The following desktop environments were tested with success
- budgie
- cinnamon
- deepin
- dwm
- dwm
- enlightenment
- gnome
- i3
@@ -36,12 +36,12 @@ The following desktop environments were tested with success
- lxde
- lxqt
- mate
- maxx
- maxx
- pantheon
- qtile
- spectrwm
- sway
- windowmaker
- windowmaker
- xfce
- xmonad
@@ -121,7 +121,7 @@ $ make
# ln -s /etc/sv/ly /var/service/
```
By default, ly will run on tty2. To change the tty it must be set in `/etc/ly/config.ini`
By default, ly will run on tty2. To change the tty it must be set in `/etc/ly/config.ini`
You should as well disable your existing display manager service if needed, e.g.: