diff options
| author | Luke Smith <luke@lukesmith.xyz> | 2022-06-09 15:24:00 -0400 |
|---|---|---|
| committer | Luke Smith <luke@lukesmith.xyz> | 2022-06-09 15:24:00 -0400 |
| commit | e02041660351a78d3a227b0e9ce1edd0beed9ec8 (patch) | |
| tree | 0e0faf1dce3be6a188c62c94a89fc07dee68b834 /.local | |
| parent | 15b4de6cf2e1a4a0878a6d5b8b33ceb31d073fa2 (diff) | |
| parent | d283f12ef9c524a88550097bceda029b3eb9a71c (diff) | |
| download | eibhear-e02041660351a78d3a227b0e9ce1edd0beed9ec8.tar.gz eibhear-e02041660351a78d3a227b0e9ce1edd0beed9ec8.tar.zst eibhear-e02041660351a78d3a227b0e9ce1edd0beed9ec8.zip | |
Merge branch 'master' of github.com:LukeSmithxyz/voidrice
Diffstat (limited to '.local')
| -rwxr-xr-x | .local/bin/statusbar/sb-nettraf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/statusbar/sb-nettraf b/.local/bin/statusbar/sb-nettraf index c71d38e..178f677 100755 --- a/.local/bin/statusbar/sb-nettraf +++ b/.local/bin/statusbar/sb-nettraf @@ -17,7 +17,7 @@ update() { read -r i < "$arg" sum=$(( sum + i )) done - cache=${XDG_CACHE_HOME:-$HOME/.cache}/${1##*/} + cache=/tmp/${1##*/} [ -f "$cache" ] && read -r old < "$cache" || old=0 printf %d\\n "$sum" > "$cache" printf %d\\n $(( sum - old )) |
