new script shut : ask for shutdown

This commit is contained in:
cptbbVM 2023-12-13 18:11:56 +01:00
parent 280390a1e2
commit dd47b9a029
1 changed files with 5 additions and 0 deletions

5
shut Executable file
View File

@ -0,0 +1,5 @@
#!/bin/bash
x=$(echo -e "OUI\nNON" | dmenu -i -p "éteindre PC ?")
[ $x == "OUI" ] && echo "ration" && shutdown 0 || echo "pc go mimir annuler"