about summary refs log tree commit diff stats
path: root/home-manager/config/yambar/scripts/old/grades-average
blob: a04b958c29a712f96ddbcb31b1830437c04c2141 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
# shellcheck disable=SC2086
# shellcheck source=/dev/null
. ~/.local/lib/shell/lib

grade=$(grades list average | awk '{print $2}');

echo "grade|string|$grade";
echo "";


if [ -d /tmp/LIB_FILE_TEMP_DIR/ ];then rm -r /tmp/LIB_FILE_TEMP_DIR/; fi