summaryrefslogtreecommitdiff
path: root/scripts/mount-usb.sh
diff options
context:
space:
mode:
authorsubh <subh@subh.space>2026-04-04 10:34:46 +0530
committersubh <subh@subh.space>2026-04-04 10:34:46 +0530
commit92811eb6050c2f2971c6ab8998b18d448ded35a0 (patch)
tree356e3fecdf88cb6728f6df5222733e1aa8547ec2 /scripts/mount-usb.sh
parent314d760de1922128124f2a9be0494fd4f6f7effb (diff)
Departure from catppuccin to gruvboxmain
Diffstat (limited to 'scripts/mount-usb.sh')
-rwxr-xr-xscripts/mount-usb.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/mount-usb.sh b/scripts/mount-usb.sh
index ae53a14..1565b90 100755
--- a/scripts/mount-usb.sh
+++ b/scripts/mount-usb.sh
@@ -71,7 +71,7 @@ case "$chosen" in
MAPPER="$usb$num"
- ${TERMINAL:-st} -n floatpattern -g 60x1 -e sudo cryptsetup open "$chosen" "$MAPPER"
+ ${TERMINAL:-foot} -a floatpattern -w 60x3 sh -c "pass=\$(systemd-ask-password 'Enter Passphrase:'); echo \$pass | sudo cryptsetup open '$chosen' '$MAPPER'"
if ! test -b "/dev/mapper/$MAPPER"; then
notify-send "❌ Decryption Failed" "Could not open $chosen"