Advertisement
Guest User

Untitled

a guest
Oct 21st, 2019
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. OUTPUT="$(xfconf-query -c xfce4-desktop -p '/desktop-icons/style' -a)"
  4.  
  5. if [ "$OUTPUT" -eq "0" ]; then
  6. echo "Show Desktop icons"
  7. xfconf-query -c xfce4-desktop -np '/desktop-icons/style' -t 'int' -s '2'
  8.  
  9. elif [ "$OUTPUT" -eq "2" ];
  10. then
  11. echo "Hide Desktop icons"
  12. xfconf-query -c xfce4-desktop -np '/desktop-icons/style' -t 'int' -s '0'
  13. fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement