Created
July 28, 2016 14:53
-
-
Save Mithrilwoodrat/5cca7d33195c2aab4513c0c55658a7b1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
output=$(gsettings get org.gnome.desktop.background show-desktop-icons) | |
echo "show-desktop-icons is $output" | |
if [ "$output" == "true" ]; then | |
gsettings set org.gnome.desktop.background show-desktop-icons false | |
echo "hide" | |
else | |
gsettings set org.gnome.desktop.background show-desktop-icons true | |
echo "show" | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment