summaryrefslogtreecommitdiff
path: root/scripts/mount-usb.sh
diff options
context:
space:
mode:
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"