From 08c020dafdc1d33ea57a7f35831dabf125b0c9e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hannes=20K=C3=B6rber?= Date: Wed, 9 Dec 2020 22:07:11 +0100 Subject: [PATCH] autostart: Prefix units to prevent collisions with existing units --- autostart/autostart.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/autostart/autostart.sh b/autostart/autostart.sh index e5f1139..27f9353 100755 --- a/autostart/autostart.sh +++ b/autostart/autostart.sh @@ -29,7 +29,7 @@ do_run() { get_unit_name() { name="$1" ; shift - printf '%s' "${name}" + printf 'user:%s' "${name}" } run_raw() { @@ -125,7 +125,7 @@ run gpg-agent gpg-agent --homedir "$HOME/.gnupg" --no-detach --daemon run kwallet kwalletd --nofork # a service called dunst already exists and conflicts -run dunst_user dunst -config ~/.config/dunstrc +run dunst dunst -config ~/.config/dunstrc # disabled due to firefox flicker # run compton compton --backend glx --vsync opengl --no-dock-shadow --no-dnd-shadow @@ -139,7 +139,7 @@ run nm-applet nm-applet run pasystray pasystray # redshift unit already exists -run redshift_user redshift-gtk -c ~/.config/redshift.conf +run redshift redshift-gtk -c ~/.config/redshift.conf if [[ "${MACHINE_HAS_KEEPASSX}" == "true" ]] ; then run keepassx keepassx --keyfile ~/.secret/main.key ~/.secret/main.kdbx