This commit is contained in:
array-in-a-matrix 2022-08-14 11:54:07 -04:00
parent 8b0b281e58
commit 1af53660d5
2 changed files with 5 additions and 17 deletions

View file

@ -1,5 +1,8 @@
# lightdm-wallpaper-changer
A script that changes your Light Display Manager's background image.
The script is run by the same systemd service that starts LightDM. Just edit your `lightdm.service` by making it execute the `LDM-Wallpaper.sh` script or you can just copy the included `lightdm.service` file to `/etc/systemd/system`. Remember to change the paths used in the script.
If you use plymouth, edit the `/usr/lib/systemd/system/lightdm-plymouth.service` file instead.
## Useage
You can create a systemd service for the script or edit `/etc/systemd/system/lightdm.service` by making it execute the `LDM-Wallpaper.sh` (e.g. using `ExecStartPost`). If you use plymouth, edit the `/usr/lib/systemd/system/lightdm-plymouth.service` file instead.
Remember to change the paths used in the script.

View file

@ -1,15 +0,0 @@
[Unit]
Description=Light Display Manager
Documentation=man:lightdm(1)
Conflicts=getty@tty1.service
After=getty@tty1.service systemd-user-sessions.service plymouth-quit.service acpid.service
[Service]
ExecStart=/usr/bin/lightdm
ExecStartPost=/home/linux/Documents/Projects/bin/LDM-Wallpaper
Restart=always
IgnoreSIGPIPE=no
BusName=org.freedesktop.DisplayManager
[Install]
Alias=display-manager.service