]> git.armaanb.net Git - bin.git/blobdiff - status
add feedback
[bin.git] / status
diff --git a/status b/status
index 0b0b6952557d197809d2ba1c24ff0f3d347010ef..bfc4ba341897beed83a522a2d1c643afc2cee113 100755 (executable)
--- a/status
+++ b/status
@@ -1,4 +1,5 @@
 #!/usr/bin/env bash
+# Sends a notification with battery level and time
 
 function time_set() {
   date +%A", "%b" "%e", "%r
@@ -14,4 +15,4 @@ function power_set() {
   fi
 }
 
-notify-send -i "clock" "echo $(time_set)" "echo $(power_set)"
+notify-send -i "clock" "`echo $(time_set)`" "`echo $(power_set)`"