diff options
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/mount-usb.sh | 2 |
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" |
