Files
dotfiles/Scripts/.local/scripts/statdisplay
Aryadev Chavali 0d7970742f Some work on Scripts
notable changes:
- rename `bt-connect` to `bt_connect`
- rename `music` to `media` and make it generic instead of checking
  Spotify
- make separate script to set background to a preset black image
- make all shebangs "#!/usr/bin/env sh"
2025-04-05 19:40:22 +01:00

22 lines
688 B
Bash
Executable File

#!/usr/bin/env sh
script=""
choices="Date\nBattery\nBrightness\nBluetooth\nMedia\nNetwork\nVolume\nTemperature\nMemory\nUptime"
choice=$(printf $choices | dmenu -i -p "Select: ")
case $choice 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)"