4 lines
173 B
Plaintext
4 lines
173 B
Plaintext
|
#!/bin/sh
|
||
|
# Lock screen and suspend if enabled in config file
|
||
|
DISPLAY=:0 i3lock -e -c 000000 -u && [ -z "$(grep off "/run/user/1000/enable_suspend")" ] && systemctl suspend
|