little fixes

This commit is contained in:
Luke Smith 2020-05-25 21:29:12 -04:00
parent 31f26c73b0
commit 7f58bbb22d
No known key found for this signature in database
GPG key ID: 4C50B54A911F6252

View file

@ -23,8 +23,8 @@ printf "$3$%0.2f" "$(cat "$pricefile")"
case $BLOCK_BUTTON in case $BLOCK_BUTTON in
1) setsid "$TERMINAL" -e less -Sf "$chartfile" ;; 1) setsid "$TERMINAL" -e less -Sf "$chartfile" ;;
3) uptime="$(date -d "$(stat -c %x "$dir")" '+%D at %T' | sed "s|$(date '+%D')|Today|")" 3) uptime="$(date -d "$(stat -c %x "$pricefile")" '+%D at %T' | sed "s|$(date '+%D')|Today|")"
notify-send "$3 $2 module" "\- <b>Exact price: \$$(cat "$price")</b> notify-send "$3 $2 module" "\- <b>Exact price: \$$(cat "$pricefile")</b>
- Left click for chart of changes. - Left click for chart of changes.
- Middle click to update. - Middle click to update.
- Shows 🔃 if updating prices. - Shows 🔃 if updating prices.