Add systemd user units and drop-ins
Enable state (*.wants symlinks) is not tracked; enable units per machine.
This commit is contained in:
@@ -0,0 +1,8 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Update music play_count from Last.fm with beets lastimport
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
ExecStart=/usr/bin/beet lastimport
|
||||||
|
Type=simple
|
||||||
|
Restart=no
|
||||||
|
StandardOutput=null
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Run beets lastimport daily
|
||||||
|
|
||||||
|
[Timer]
|
||||||
|
OnCalendar=*-*-* 0:00:00
|
||||||
|
Persistent=true
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=timers.target
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Change desktop background
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
ExecStart=/home/fuxino/.fehbg
|
||||||
|
Type=simple
|
||||||
|
Restart=no
|
||||||
|
ProtectHome=read-only
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Change desktop background every 6 hours
|
||||||
|
|
||||||
|
[Timer]
|
||||||
|
OnActiveSec=6h
|
||||||
|
OnUnitActiveSec=6h
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=redshift needs to get a (geo)clue
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
ExecStart=/usr/lib/geoclue-2.0/demos/agent
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=default.target
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
[Unit]
|
||||||
|
After=mpd-mpris.service
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Automount removable media with udiskie
|
||||||
|
Documentation=man:udiskie(8)
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
ExecStart=/usr/bin/udiskie
|
||||||
|
Restart=on-failure
|
||||||
|
RestartSec=2
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
[Service]
|
||||||
|
Environment="XDG_CURRENT_DESKTOP=GNOME"
|
||||||
Reference in New Issue
Block a user