dotfiles/services/.config/systemd/user/dropdown-todo.service

13 lines
449 B
SYSTEMD
Raw Normal View History

[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 | :Limelight" %h/documents/records/todo.md'
Restart=always
RestartSec=5
[Install]
WantedBy=default.target