Files
aglab.dotfiles/bin/lock-hibernate.sh

5 lines
68 B
Bash
Executable File

#!/bin/bash
pgrep gtklock || gtklock -d
sleep 1
systemctl hibernate