21 lines
673 B
Bash
Executable File
21 lines
673 B
Bash
Executable File
#!/usr/bin/env sh
|
|
|
|
script=""
|
|
choices="Date\nBattery\nBrightness\nBluetooth\nMedia\nNetwork\nVolume\nTemperature\nMemory\nUptime"
|
|
|
|
case $(printf $choices | dmenu -i -p "Select: ") in
|
|
"Date") script="datetime" ;;
|
|
"Battery") script="battery" ;;
|
|
"Brightness") script="brightness" ;;
|
|
"Bluetooth") script="bluetooth-status" ;;
|
|
"Media") script="media" ;;
|
|
"Network") script="connection" ;;
|
|
"Volume") script="volume" ;;
|
|
"Temperature") script="temperature" ;;
|
|
"Memory") script="memory" ;;
|
|
"Uptime") script="uptime_status" ;;
|
|
*) exit 1 ;;
|
|
esac
|
|
|
|
notify-send -u low "$(~/.local/scripts/status/$script)"
|