Added docs for systemd

This commit is contained in:
DeaDvey 2024-07-26 02:33:10 +00:00 committed by GitHub
parent d38ca16477
commit 8c108ee8ca
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -15,6 +15,7 @@ LiDM is a really light display manager made in C, highly customizable and held t
* Fast and possibly efficient.
* Fully customizable, from strings, through action keys, to colors (I hope you know ansi escape codes)
* Automatically detects xorg and wayland sessions, plus allowing to launch the default user shell (If enabled in config)
* Starts with many init systems eg: systemd and dinit.
## WIP
* Desktop's file `TryExec` key.
@ -72,6 +73,20 @@ make # 👍
* Prepare the [configuration](#configuring).
* Make a service file for this if you want it on launch, just check how ly does it, this works pretty much the same way.
# Starting with SystemD
* Starting lidm with SystemD is not fully supported, however it will start on launch.
In the lidm directory run these commands:
```sh
sudo cp li.service /etc/systemd/system
sudo systemdtl enable li
```
You may also want to disable your current Display Manager for instance:
```sh
sudo systemctl disable sddm # Disables SDDM (KDE's dm)
sudo systemctl disable lightdm # Disables lightDM (popular lightweight DM)
sudo systemctl disable gdm # Disables GDM (Gnomes DM)
```
# Configuring
Copy any `.ini` file from [`themes/`](./themes/) (`default.ini` will always be updated) to `/etc/lidm.ini` and/or configure it to your liking. Also, don't place empty lines (for now).