From b7d7f467706cea5138a2f2bffc205c31f1973126 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Sat, 7 Jul 2018 22:22:50 -0700 Subject: [PATCH] [Linux] Add github-notifications service --- .../config/systemd/user/github-notifications.service | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 dotfiles/config/systemd/user/github-notifications.service diff --git a/dotfiles/config/systemd/user/github-notifications.service b/dotfiles/config/systemd/user/github-notifications.service new file mode 100644 index 00000000..2fac459d --- /dev/null +++ b/dotfiles/config/systemd/user/github-notifications.service @@ -0,0 +1,12 @@ +[Unit] +Description=github-notifications +Wants=taffybar.service +After=taffybar.service + +[Service] +Type=simple +ExecStart=/usr/bin/env notifications-tray-icon --github-pass-token github-token +ExecStop=/usr/bin/pkill 'notifications-tray-icon --github-pass-token github-token' + +[Install] +WantedBy=wm.target