script-linux/shut

6 lines
146 B
Plaintext
Raw Normal View History

2023-12-13 18:11:56 +01:00
#!/bin/bash
x=$(echo -e "OUI\nNON" | dmenu -i -p "éteindre PC ?")
[ $x == "OUI" ] && echo "ration" && shutdown 0 || echo "pc go mimir annuler"