Created
December 6, 2023 02:41
-
-
Save daisycamber/f9846a0a6fb7bf257538cba4ae9375c3 to your computer and use it in GitHub Desktop.
i3lock on power button press
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
sudo nano /etc/acpi/events/power | |
event=button/power | |
action=/usr/bin/i3lock |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment