From 1af53660d50971723901a0e482d5c0bc167fa6de Mon Sep 17 00:00:00 2001 From: array-in-a-matrix Date: Sun, 14 Aug 2022 11:54:07 -0400 Subject: [PATCH] updated --- README.md | 7 +++++-- lightdm.service | 15 --------------- 2 files changed, 5 insertions(+), 17 deletions(-) delete mode 100644 lightdm.service diff --git a/README.md b/README.md index d6f03a4..87030f0 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/lightdm.service b/lightdm.service deleted file mode 100644 index 6200f33..0000000 --- a/lightdm.service +++ /dev/null @@ -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