Created
July 16, 2024 08:36
-
-
Save daisycamber/4a53a84334302b325078927650d82552 to your computer and use it in GitHub Desktop.
/etc/systemd/system/sleep_wake.service
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
[Install] | |
WantedBy=sleep.target | |
[Unit] | |
After=systemd-suspend.service systemd-hybrid-sleep.service systemd-hibernate.service | |
[Service] | |
Type=forking | |
ExecStart=/bin/bash -c 'i3lock' | |
User=daisy | |
Environment=DISPLAY=:0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment