Add weechat systemd service

This commit is contained in:
2019-04-10 16:57:25 +02:00
parent 0a3e236b8d
commit 257ea6a686
3 changed files with 79 additions and 23 deletions

View File

@@ -1515,3 +1515,15 @@ Colors
* TODO [#A] Binaries
* TODO [#A] Scripts
** Wallpapers
:PROPERTIES:
:header-args: :tangle ~/scripts/wallpapers.sh
:header-args+: :comments both :mkdirp yes
:header-args+: :shebang "#!/usr/bin/env bash"
:END:
#+begin_src bash
while true; do
nitrogen --set-zoom-fill --random ".wallpapers"
sleep 10m
done
#+end_src

View File

@@ -224,6 +224,7 @@
[Install]
WantedBy=default.target
#+END_SRC
* Vdirsyncer
** Service
:PROPERTIES:
@@ -258,3 +259,22 @@
[Install]
WantedBy=timers.target
#+end_src
* Weechat
** Service
:PROPERTIES:
:header-args: :tangle ~/.config/systemd/user/weechat.service
:header-args+: :comments both :mkdirp yes
:END:
#+begin_src conf
[Unit]
Description=A WeeChat client and relay service using Tmux
After=network.target
[Service]
Type=forking
ExecStart=/usr/bin/tmux -L weechat new -d -s weechat weechat
ExecStop=/usr/bin/tmux -L weechat kill-session -t weechat
[Install]
WantedBy=default.target
#+end_src