Last active
December 6, 2023 04:21
-
-
Save daisycamber/c008c88f849c4bc6cf5ddabb72865325 to your computer and use it in GitHub Desktop.
run i3lock on wake from sleep
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
WantedBy=sleep.target | |
After=systemd-suspend.service systemd-hybrid-sleep.service systemd-hibernate.service | |
[Service] | |
Type=forking | |
ExecStart=/bin/bash -c 'i3lock' | |
User=daisy | |
Environment=DISPLAY=:0.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment