Guest User

Untitled

a guest
Oct 5th, 2018
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.82 KB | None | 0 0
  1. !/bin/bash
  2.  
  3. frmdata=$(yad --title "Gmail-connect" --form --field "User Name" --field="Password" --hide-text)
  4.  
  5. if [ "$?" == 1 ]; then exit 0; fi
  6. echo $frmdata
  7. frmuser=$(echo $frmdata | awk 'BEGIN {FS="|" } { print $1 }')
  8. frmpass=$(echo $frmdata | awk 'BEGIN {FS="|" } { print $2 }')
  9.  
  10. zenity --list --text "Fill every row, and mark all rows before hitting 'OK'" --column "title" --print-column=2 --multiple --column "value" --editable "name" "(please override)" "host" "" "ip" ""
  11.  
  12. yad --title="Desktop entry editor" --text="Simple desktop entry editor" --form\
  13. --field="Type:CB" --field="Name" --field="Generic name"\
  14. --field="Comment" --field="Command:FL" --field="Icon" \
  15. --field="In terminal:CHK" --field="Startup notify:CHK" \
  16. "Application!URI" "Name" "Generic name" "This is the comment" \
  17. "/usr/bin/yad" "yad" FALSE TRUE
Add Comment
Please, Sign In to add comment