Advertisement
Guest User

Dialog_Script

a guest
Jul 8th, 2022
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. test=$(dialog --menu "Choose one:" 10 30 2 1 Nitrogen 2 Pywal --output-fd 1)
  4. echo "${test}"
  5.  
  6. if [[ "${test}" == "1" ]] ; then
  7. echo "You chose nitrogen"
  8. nitrogen --set-scaled ~/Git-Repos/Dotfiles/Wallpapers/5120x2880.jpg --save
  9. elif [[ "${test}" == "2" ]] ; then
  10. echo "You chose pywal"
  11. ~/.config/qtile/Scripts/wal-set
  12. else
  13. echo "Nothing chosen"
  14. fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement