Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- OUTPUT="$(xfconf-query -c xfce4-desktop -p '/desktop-icons/style' -a)"
- if [ "$OUTPUT" -eq "0" ]; then
- echo "Show Desktop icons"
- xfconf-query -c xfce4-desktop -np '/desktop-icons/style' -t 'int' -s '2'
- elif [ "$OUTPUT" -eq "2" ];
- then
- echo "Hide Desktop icons"
- xfconf-query -c xfce4-desktop -np '/desktop-icons/style' -t 'int' -s '0'
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement