-#!/usr/bin/env sh
-notify-send -i "clock" "`date +%A" "%B" "%e" | "%1l:%M:%S `" "`upower -d | grep percentage | tail -c 4 | head -c 3 && echo " battery" && upower --dump | grep "time to empty" | tail -c 11 | head -c 11`"
+#!/usr/bin/env bash
+# Sends a notification with the time, battery level, and volume
+time_set() {
+ date "+%A %Y-%m-%d, %r"
+}
+power_set() {
+ echo $(acpi | tail -c +12)
+}
+
+volume_set() {
+ echo "$(amixer sget Master | tail -n 1 | tail -c +21)"
+}
+
+notify-send "$(time_set)" "$(power_set)\n$(volume_set)"