about summary refs log tree commit diff stats
path: root/home-manager/config/yambar/scripts/grades-average
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-x[-rw-r--r--]home-manager/config/yambar/scripts/grades-average (renamed from home-manager/config/yambar/scripts/grades-average.sh)6
1 files changed, 4 insertions, 2 deletions
diff --git a/home-manager/config/yambar/scripts/grades-average.sh b/home-manager/config/yambar/scripts/grades-average
index 72e180bd..98e06858 100644..100755
--- a/home-manager/config/yambar/scripts/grades-average.sh
+++ b/home-manager/config/yambar/scripts/grades-average
@@ -1,9 +1,9 @@
-#!/usr/bin/env dash
+#! /usr/bin/env dash
 # shellcheck disable=SC2086
 # shellcheck source=/dev/null
+# . ~/.local/lib/shell/lib
 . %SHELL_LIBRARY_PATH
 
-
 while true; do
     grade=$(grades list average | awk '{print $2}');
 
@@ -12,4 +12,6 @@ while true; do
 
     sleep 1;
 done
+
+if [ -d "$LIB_TEMP_DIR_FOR_SCRIPT" ];then rm -r "$LIB_TEMP_DIR_FOR_SCRIPT"; fi
 # vim: ft=sh