mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-21 01:25:42 +02:00
wallpaper: rename wallpaper binary to match service name
This commit is contained in:
parent
0ea55db7a5
commit
1924f7731e
3 changed files with 4 additions and 4 deletions
|
@ -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:
|
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
|
to be displayed. There is a random selection and it works with
|
||||||
multihead setup. It seems that classic tools are now able to change
|
multihead setup. It seems that classic tools are now able to change
|
||||||
the wallpaper per screen and therefore, the script may seem a bit
|
the wallpaper per screen and therefore, the script may seem a bit
|
||||||
|
|
|
@ -6,9 +6,9 @@ PartOf=graphical-session.target
|
||||||
Environment=WALLPAPER_DIRECTORY=%h/.config/i3/wallpapers
|
Environment=WALLPAPER_DIRECTORY=%h/.config/i3/wallpapers
|
||||||
Environment=WALLPAPER_OUTPUT=%h/.cache/i3/current-wallpaper.png
|
Environment=WALLPAPER_OUTPUT=%h/.cache/i3/current-wallpaper.png
|
||||||
ExecStart=/usr/bin/mkdir -p %h/.cache/i3
|
ExecStart=/usr/bin/mkdir -p %h/.cache/i3
|
||||||
ExecStart=%h/.config/i3/bin/build-wallpaper --crop \
|
ExecStart=%h/.config/i3/bin/wallpaper --crop \
|
||||||
--directory $WALLPAPER_DIRECTORY \
|
--directory $WALLPAPER_DIRECTORY \
|
||||||
--target $WALLPAPER_OUTPUT
|
--target $WALLPAPER_OUTPUT
|
||||||
ExecStart=/usr/bin/hsetroot -center $WALLPAPER_OUTPUT
|
ExecStart=/usr/bin/hsetroot -center $WALLPAPER_OUTPUT
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
RemainAfterExit=false
|
RemainAfterExit=false
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue