power cmd

This commit is contained in:
_N3m0 2024-03-04 11:16:56 +01:00
parent 6f634c9e33
commit 03df3a7285
1 changed files with 15 additions and 0 deletions

15
power Executable file
View File

@ -0,0 +1,15 @@
#!/bin/bash
act=$(echo -e "shutdown\nreboot\nlock" | dmenu -p "action:")
case $act in
"shutdown")
shutdown 0
;;
"reboot")
reboot
;;
"lock")
lockscreen
;;
esac