diff --git a/README.md b/README.md index acd92fc..553e8f9 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ recommend using it as-is by you can pick anything you need in it. Here some of the things you may be interested in: - - I use a Python script `bin/build-wallpaper` to build the wallpaper + - I use a Python script `bin/wallpaper` to build the wallpaper to be displayed. There is a random selection and it works with multihead setup. It seems that classic tools are now able to change the wallpaper per screen and therefore, the script may seem a bit diff --git a/bin/build-wallpaper b/bin/wallpaper similarity index 100% rename from bin/build-wallpaper rename to bin/wallpaper diff --git a/dotfiles/systemd/wallpaper.service b/dotfiles/systemd/wallpaper.service index b0de0e9..ec619bf 100644 --- a/dotfiles/systemd/wallpaper.service +++ b/dotfiles/systemd/wallpaper.service @@ -6,9 +6,9 @@ PartOf=graphical-session.target Environment=WALLPAPER_DIRECTORY=%h/.config/i3/wallpapers Environment=WALLPAPER_OUTPUT=%h/.cache/i3/current-wallpaper.png ExecStart=/usr/bin/mkdir -p %h/.cache/i3 -ExecStart=%h/.config/i3/bin/build-wallpaper --crop \ - --directory $WALLPAPER_DIRECTORY \ - --target $WALLPAPER_OUTPUT +ExecStart=%h/.config/i3/bin/wallpaper --crop \ + --directory $WALLPAPER_DIRECTORY \ + --target $WALLPAPER_OUTPUT ExecStart=/usr/bin/hsetroot -center $WALLPAPER_OUTPUT Type=oneshot RemainAfterExit=false