ENH make rofi device error more obvious
This commit is contained in:
parent
bb911ffda8
commit
830e471cb5
|
@ -7,5 +7,8 @@ shift
|
||||||
|
|
||||||
alias="gnupg"
|
alias="gnupg"
|
||||||
|
|
||||||
rofi-dev -c "$XDG_CONFIG_HOME/rofi/devices.yml" -m "$alias" \
|
if rofi-dev -c "$XDG_CONFIG_HOME/rofi/devices.yml" -m "$alias"; then
|
||||||
&& "$bin" "$@" || echo "Could not mount $alias"
|
"$bin" "$@"
|
||||||
|
else
|
||||||
|
echo "Could not mount $alias"
|
||||||
|
fi
|
||||||
|
|
Loading…
Reference in New Issue