dotfiles/.local/bin/rtcwake
2020-05-12 18:25:43 +02:00

6 lines
148 B
Bash
Executable file

#!/bin/bash
sudo /usr/bin/rtcwake -n -m mem -t $(date "+%s" -d "$1")
read || exit 1
sleep 15
sudo /usr/bin/rtcwake -m mem -t $(date "+%s" -d "$1")