diff --git a/config/systemd/user/udiskie.service b/config/systemd/user/udiskie.service new file mode 100644 index 0000000..d43396a --- /dev/null +++ b/config/systemd/user/udiskie.service @@ -0,0 +1,17 @@ +[Unit] +Description=udiskie removable media automounter +Documentation=https://github.com/coldfix/udiskie +# Binds the lifecycle of this app to your UWSM Wayland session +PartOf=graphical-session.target + +[Service] +Type=simple +# Keeps the service neatly categorized under the systemd app/background slice +Slice=app-background.slice +ExecStart=/usr/bin/udiskie -a --smart-tray +Restart=always +RestartSec=3 + +[Install] +# This target is reached when UWSM completely fires up the graphical workspace +WantedBy=graphical-session.target