Wiktor Zykubek ba370a85bc Edit scripts
- delete '.sh' from name
- edit screenshot script
  * use rofi instead of dmenu
  * add notification
  * fix area mode
- few changes in polybar config and updot
2020-03-13 12:45:30 +01:00

12 lines
279 B
Bash
Executable File

#!/usr/bin/env sh
WHAT="$(printf "Shutdown\nSuspend\nLock\nReboot" | dmenu -i -p 'What do you want?')"
if [ -z "$WHAT" ]; then exit; fi
case "$WHAT" in
Shutdown) systemctl poweroff;;
Suspend) systemctl suspend;;
Lock) sh ~/.scripts/lockscreen.sh;;
*) systemctl reboot
esac