scripts/reboot

8 lines
107 B
Plaintext
Raw Normal View History

2023-06-03 12:15:49 +00:00
#!/bin/bash
ans=$(printf "no\nyes" | dmenu -p "Reboot?")
if [ "$ans" = "yes" ]; then
/usr/bin/reboot
fi