diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2024-09-16 01:04:09 +0100 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2024-09-16 01:04:09 +0100 |
commit | f7d1073a98cef62b2f4a87afd18651dfeea6a7ca (patch) | |
tree | b2f5d51193b46c78407da95ec5aa0b2382c41020 /Scripts/.local/scripts/statdisplay | |
parent | 398a59e6774b28c05bdb74668cbbe70564cfa61f (diff) | |
download | dotfiles-f7d1073a98cef62b2f4a87afd18651dfeea6a7ca.tar.gz dotfiles-f7d1073a98cef62b2f4a87afd18651dfeea6a7ca.tar.bz2 dotfiles-f7d1073a98cef62b2f4a87afd18651dfeea6a7ca.zip |
(Scripts)~qdisplay -> statdisplay
Diffstat (limited to 'Scripts/.local/scripts/statdisplay')
-rwxr-xr-x | Scripts/.local/scripts/statdisplay | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/Scripts/.local/scripts/statdisplay b/Scripts/.local/scripts/statdisplay new file mode 100755 index 0000000..665d1f5 --- /dev/null +++ b/Scripts/.local/scripts/statdisplay @@ -0,0 +1,34 @@ +#!/usr/bin/env sh + +script="" +case "$(printf "Date\nBattery\nBluetooth\nMusic\nNetwork\nVolume\nTemperature\nMemory\nUptime" | dmenu -i -p "Select: ")" in + "Date") + script="datetime" + ;; + "Battery") + script="battery" + ;; + "Bluetooth") + script="bluetooth-status" + ;; + "Music") + script="music" + ;; + "Network") + script="connection" + ;; + "Volume") + script="volume" + ;; + "Temperature") + script="temperature" + ;; + "Memory") + script="memory" + ;; + "Uptime") + script="uptime_status" + ;; +esac + +notify-send -u low "$(~/.local/scripts/status/$script)" |