]> git.rmz.io Git - dotfiles.git/blob - systemd/system/suspend@.service
nvim/editor: add snippet telescope plugin
[dotfiles.git] / systemd / system / suspend@.service
1 # Proxy the system suspend.target to a users suspend.target. Enable with:
2 # systemctl enable suspend@$(whoami)
3 [Unit]
4 Description=Call user's suspend target when system suspends
5 After=suspend.target
6
7 [Service]
8 Type=oneshot
9 ExecStart=/usr/bin/systemctl --user --machine=%i@ start --wait suspend.target
10
11 [Install]
12 WantedBy=suspend.target