diff options
author | ene <ene@sils.li> | 2023-03-12 16:05:37 +0100 |
---|---|---|
committer | ene <ene@sils.li> | 2023-03-12 16:05:37 +0100 |
commit | ee361f87765bee2d8f0910e27e01217a2f800add (patch) | |
tree | e54a3a30e431a00d75f46dd087dc17ad98b57f6c /home-manager/config/yambar/scripts/grades-average | |
parent | Fix(hm/conf/lf): Typo (diff) | |
download | nixos-config-ee361f87765bee2d8f0910e27e01217a2f800add.zip |
Fix(hm/conf/yambar): Update to new shell lib version
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 |