scripts/reboot

8 lines
107 B
Bash
Executable File

#!/bin/bash
ans=$(printf "no\nyes" | dmenu -p "Reboot?")
if [ "$ans" = "yes" ]; then
/usr/bin/reboot
fi