Advertisement
Guest User

yad checklist

a guest
Nov 8th, 2021
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. mapfile -d $'\n' -t myArray <"/home/eviget/eviget_scripts/devinfo3"
  4. devsToMnt=$(for i in $(seq ${#myArray[@]})
  5. do
  6. echo FALSE
  7. echo "${myArray[$i-1]}"
  8. done \
  9. | yad --list \
  10. --center \
  11. --width="500" \
  12. --height="400" \
  13. --checklist --column="Select" --column="Device to mount:" \
  14. --print-column="2" --multiple --separator=" ")
  15.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement