mirror of
https://github.com/Mastermindzh/dotfiles.git
synced 2024-11-23 07:14:30 +01:00
9 lines
141 B
Bash
9 lines
141 B
Bash
|
#!/usr/bin/env bash
|
||
|
|
||
|
# check if locked
|
||
|
if !(pgrep -x "i3lock" > /dev/null)
|
||
|
then
|
||
|
bash ~/.config/i3/scripts/i3lock.sh
|
||
|
fi
|
||
|
|
||
|
systemctl suspend
|