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:
parent
1c45202f18
commit
cc0cdd2a6c
3 changed files with 24 additions and 1 deletions
|
|
@ -0,0 +1 @@
|
|||
../dropdown-todo.service
|
||||
11
services/.config/systemd/user/dropdown-todo.service
Normal file
11
services/.config/systemd/user/dropdown-todo.service
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue