Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- mapfile -d $'\n' -t myArray <"/home/eviget/eviget_scripts/devinfo3"
- devsToMnt=$(for i in $(seq ${#myArray[@]})
- do
- echo FALSE
- echo "${myArray[$i-1]}"
- done \
- | yad --list \
- --center \
- --width="500" \
- --height="400" \
- --checklist --column="Select" --column="Device to mount:" \
- --print-column="2" --multiple --separator=" ")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement