4 lines
163 B
Bash
Executable File
4 lines
163 B
Bash
Executable File
#!/bin/sh
|
|
# Lock screen and suspend if enabled in config file
|
|
i3lock -e -c 000000 -u && [ "$(cat "$XDG_RUNTIME_DIR/enable_suspend")" != off ] && systemctl suspend
|