Files
dotfiles/dot_config/systemd/user/kitty-day-save.service
T

14 lines
314 B
Desktop File

[Unit]
Description=Save kitty daily sessions before shutdown/reboot
PartOf=graphical-session.target
After=graphical-session.target
[Service]
ExecStart=%h/.local/bin/kitty-day-save
# Re-arm after a flush, in case the shutdown is cancelled.
Restart=always
RestartSec=10
[Install]
WantedBy=graphical-session.target