commit 42302fe6aff0d62e2a6c43a9e2b2c365f5eeef6d
parent f59f0573f92329e4e037726c4f8073b60cc2c2c6
Author: awy <awy@awy.one>
Date: Wed, 18 Jun 2025 14:09:03 +0300
fixes
Diffstat:
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/.local/bin/compiler b/.local/bin/compiler
@@ -16,7 +16,7 @@ cd "${dir}" || exit "1"
case "${ext}" in
[0-9]) preconv "${file}" | refer -PS -e | groff -mandoc -T pdf > "${base}.pdf" ;;
mom|ms) preconv "${file}" | refer -PS -e | groff -T pdf -m"${ext}" > "${base}.pdf" ;;
- c) cc "${file}" -o "${base}" && "./${base}" ;;
+ c) cc "${file}" -o "${base}" && "${base}" ;;
cob) cobc -x -o "$base" "$file" && "$base" ;;
cpp) g++ "${file}" -o "${base}" && "./${base}" ;;
cs) mcs "${file}" && mono "${base}.exe" ;;
@@ -33,7 +33,7 @@ case "${ext}" in
py) python "${file}" ;;
rink) rink -f "${file}" ;;
[rR]md) Rscript -e "rmarkdown::render('${file}', quiet=TRUE)" ;;
- rs) cargo build ;;
+ rs) cargo build && cargo run --quiet ;;
sass) sassc -a "${file}" "${base}.css" ;;
scad) openscad -o "${base}.stl" "${file}" ;;
sent) setsid -f sent "${file}" 2> "/dev/null" ;;
diff --git a/.local/bin/statusbar/sb-price b/.local/bin/statusbar/sb-price
@@ -54,6 +54,6 @@ esac
updateprice "$target" &&
[ -n "$showupdate" ] &&
notify-send "$icon Update complete." "$name price is now
-\$$(cat "$pricefile")"
+$symb$(cat "$pricefile")"
[ -f "$pricefile" ] && printf "%s%s%0.2f\n" "$icon" "$symb" "$(cat "$pricefile")"