From a1d446d7777059bb991aaad91a1146647db180ba Mon Sep 17 00:00:00 2001 From: eoli3n Date: Thu, 31 Mar 2016 22:48:34 +0200 Subject: [PATCH] added systemd user config --- .config/systemd/user/interfacelift.service | 9 +++++++++ .config/systemd/user/interfacelift.timer | 9 +++++++++ .config/systemd/user/ssh-agent.service | 10 ++++++++++ .config/systemd/user/weechat.service | 9 +++++++++ 4 files changed, 37 insertions(+) create mode 100644 .config/systemd/user/interfacelift.service create mode 100644 .config/systemd/user/interfacelift.timer create mode 100644 .config/systemd/user/ssh-agent.service create mode 100644 .config/systemd/user/weechat.service diff --git a/.config/systemd/user/interfacelift.service b/.config/systemd/user/interfacelift.service new file mode 100644 index 0000000..f244afd --- /dev/null +++ b/.config/systemd/user/interfacelift.service @@ -0,0 +1,9 @@ +[Unit] +Description=Download new wallpaper + +[Service] +Type=forking +ExecStart=/home/user/scripts/bash/interfaceliftdownloader/interfacelift.sh -c /home/user/scripts/bash/interfaceliftdownloader/wallpaper.conf + +[Install] +WantedBy=default.target diff --git a/.config/systemd/user/interfacelift.timer b/.config/systemd/user/interfacelift.timer new file mode 100644 index 0000000..cbe39c2 --- /dev/null +++ b/.config/systemd/user/interfacelift.timer @@ -0,0 +1,9 @@ +[Unit] +Description=Download new wallpaper daily + +[Timer] +OnCalendar=*-*-* *:00:00 +Persistent=true + +[Install] +WantedBy=timers.target diff --git a/.config/systemd/user/ssh-agent.service b/.config/systemd/user/ssh-agent.service new file mode 100644 index 0000000..87d6c04 --- /dev/null +++ b/.config/systemd/user/ssh-agent.service @@ -0,0 +1,10 @@ +[Unit] +Description=SSH key agent + +[Service] +Type=forking +Environment=SSH_AUTH_SOCK=%t/ssh-agent.socket +ExecStart=/usr/bin/ssh-agent -a $SSH_AUTH_SOCK + +[Install] +WantedBy=default.target diff --git a/.config/systemd/user/weechat.service b/.config/systemd/user/weechat.service new file mode 100644 index 0000000..37073f0 --- /dev/null +++ b/.config/systemd/user/weechat.service @@ -0,0 +1,9 @@ +[Unit] +Description=Weechat in screen + +[Service] +ExecStart=/usr/bin/screen -DmS weechat /usr/bin/weechat +ExecStop=/usr/bin/screen -S weechat -X quit + +[Install] +WantedBy=default.target