services: Add autostarting dropdown todo list

Added systemd-controlled automatic restart to existing i3 todo list
overlay (super+t). Contains a lot of hard-coded paths and applications.
This commit is contained in:
Marty Oehme 2020-07-29 09:35:23 +02:00
parent 1c45202f18
commit cc0cdd2a6c
No known key found for this signature in database
GPG key ID: 0CCB0526EFB9611A
3 changed files with 24 additions and 1 deletions

View file

@ -0,0 +1 @@
../dropdown-todo.service

View file

@ -0,0 +1,11 @@
[Unit]
Description=Todo.md floating vim instance
[Service]
Type=simple
# workaround to allow relative executable invocation (i.e. current users' home dir)
ExecStart=/bin/bash -c 'alacritty --title "dropdown-todo" --class "Alacritty,scratchpad" -e nvim -c ":set nonumber norelativenumber noshowmode noruler laststatus=0 noshowcmd shortmess=F" %h/documents/records/todo.md'
Restart=always
[Install]
WantedBy=default.target