diff --git a/dotfiles/config/systemd/user/discord.service b/dotfiles/config/systemd/user/discord.service new file mode 100644 index 00000000..1290ea85 --- /dev/null +++ b/dotfiles/config/systemd/user/discord.service @@ -0,0 +1,11 @@ +[Unit] +Description=discord +Wants=taffybar.service +After=taffybar.service + +[Service] +ExecStart=/usr/bin/env run_unity.sh discord +Restart=always + +[Install] +WantedBy=wm.target diff --git a/dotfiles/config/systemd/user/gitter.service b/dotfiles/config/systemd/user/gitter.service new file mode 100644 index 00000000..5779ba95 --- /dev/null +++ b/dotfiles/config/systemd/user/gitter.service @@ -0,0 +1,11 @@ +[Unit] +Description=gitter +Wants=taffybar.service +After=taffybar.service + +[Service] +ExecStart=/usr/bin/env run_unity.sh gitter +Restart=always + +[Install] +WantedBy=wm.target diff --git a/dotfiles/lib/bin/run_unity.sh b/dotfiles/lib/bin/run_unity.sh new file mode 100755 index 00000000..32b01d0a --- /dev/null +++ b/dotfiles/lib/bin/run_unity.sh @@ -0,0 +1,3 @@ +#!/usr/bin/env sh + +XDG_CURRENT_DESKTOP='Unity' $@