Add user systemd
This commit is contained in:
7
linux/systemd/user/wallpaper.service
Normal file
7
linux/systemd/user/wallpaper.service
Normal file
@@ -0,0 +1,7 @@
|
||||
# This is a transient unit file, created programmatically via the systemd API. Do not edit.
|
||||
[Unit]
|
||||
Description=Set wallpaper
|
||||
|
||||
[Service]
|
||||
Environment="DISPLAY=:0"
|
||||
ExecStart="/bin/bash" "-c" "/bin/feh --bg-fill --randomize ~/.config/wallpaper/*"
|
||||
10
linux/systemd/user/wallpaper.timer
Normal file
10
linux/systemd/user/wallpaper.timer
Normal file
@@ -0,0 +1,10 @@
|
||||
# This is a transient unit file, created programmatically via the systemd API. Do not edit.
|
||||
[Unit]
|
||||
Description=Change wallpaper
|
||||
|
||||
[Timer]
|
||||
OnCalendar=*:0/5
|
||||
RemainAfterElapse=no
|
||||
|
||||
[Install]
|
||||
WantedBy=xsession.target
|
||||
1
linux/systemd/user/xsession.target.wants/wallpaper.timer
Symbolic link
1
linux/systemd/user/xsession.target.wants/wallpaper.timer
Symbolic link
@@ -0,0 +1 @@
|
||||
/home/vbalien/.config/systemd/user/wallpaper.timer
|
||||
Reference in New Issue
Block a user