[Linux] Add services for gitter and discord

This commit is contained in:
Ivan Malison 2018-05-11 13:27:52 -07:00
parent 327de8a5b4
commit 90dfd5bf8c
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8
3 changed files with 25 additions and 0 deletions

View File

@ -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

View File

@ -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

3
dotfiles/lib/bin/run_unity.sh Executable file
View File

@ -0,0 +1,3 @@
#!/usr/bin/env sh
XDG_CURRENT_DESKTOP='Unity' $@