SHARE
TWEET

Untitled

a guest Oct 21st, 2019 73 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top