diff --git a/i38.sh b/i38.sh index 8e12d8d..5dbe234 100755 --- a/i38.sh +++ b/i38.sh @@ -226,6 +226,11 @@ else fileBrowser="${programList/#-/}" fi fileBrowser="$(command -v $fileBrowser)" +# Auto mount removable media +udiskie=1 +if command -v udiskie &> /dev/null ; then + export udiskie=$(yesno "Would you like removable drives to automatically mount when plugged in?") +fi # Auto start with dex dex=1 if command -v dex &> /dev/null ; then @@ -462,6 +467,9 @@ fi if [[ $brlapi -eq 0 ]]; then echo 'exec --no-startup-id xbrlapi --quiet' fi +if [[ $udiskie -eq 0 ]]; then + echo 'exec --no-startup-id udiskie' +fi if [[ -x "/usr/lib/notification-daemon-1.0/notification-daemon" ]]; then echo 'exec_always --no-startup-id /usr/lib/notification-daemon-1.0/notification-daemon -r' fi