summaryrefslogtreecommitdiff
path: root/ar/.local
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-02-16 16:12:20 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-02-16 16:12:20 +0900
commitdfdcaf8f46ed692f9c5af3434071b4cc710c8627 (patch)
tree97893bd2177c6b527c5a17a1c426f63e64576776 /ar/.local
parent3338c81215f87ff99e5504f586d48b6ed31c9730 (diff)
deleted glove80/d3751a5c-4bd2-4fbd-9661-13846c91bf70_community.pr36.per-key-rgb+20250106120812_Glorious Engrammer v41.uf2", modified bin/setfirmware, created glove80/b8347dae-f840-4852-a988-bce241b79445_v25.01_Glorious Engrammer v41.uf2
Diffstat (limited to 'ar/.local')
-rwxr-xr-xar/.local/bin/setfirmware2
1 files changed, 1 insertions, 1 deletions
diff --git a/ar/.local/bin/setfirmware b/ar/.local/bin/setfirmware
index 4c4dad1..dde4d58 100755
--- a/ar/.local/bin/setfirmware
+++ b/ar/.local/bin/setfirmware
@@ -5,7 +5,7 @@ drive=$(lsblk | grep -E '3[0-9].*M' | cut -d' ' -f1)
drive="/dev/$drive"
printf "\n%s\n" "Target drive: $drive"
firmwarepath="${XDG_CONFIG_HOME:-${HOME}/.config}/glove80"
-firmware="$(find "$firmwarepath" -type f -iname '*.uf2' | fzf --prompt "Choose a firmware: ")"
+firmware="$(find "$firmwarepath" \( -type f -o -type l \) -iname '*.uf2' | fzf --prompt "Choose a firmware: ")"
mp="/media/$USER/firmware"
[ -d "$mp" ] || mkdir -p "$mp"
sudo -A mount "$drive" "$mp"