Create org.snwh.paper.theme.desktop

This commit is contained in:
Sam Hewitt 2016-07-06 16:15:42 -04:00 committed by GitHub
parent 06fb8b4174
commit b3a3b59094
1 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,7 @@
#!/usr/bin/env xdg-open
[Desktop Entry]
Type=Application
Terminal=false
Name=Paper GTK+ Theme
Icon=preferences-desktop-theme
Exec=bash -c 'notify-send "Paper GTK+ Theme" "Getting the latest version of the Paper themes..." -i system-software-update; cd /tmp/; rm -Rf /tmp/paper-icon-theme.zip 2>/dev/null; rm -Rf /tmp/paper-icon-theme-master/ 2>/dev/null; wget https://github.com/snwh/paper-icon-theme/archive/master.zip -O paper-icon-theme.zip; unzip paper-icon-theme.zip; cd paper-icon-theme-master; rm -Rf "$HOME/.local/share/themes/Paper" 2>/dev/null; install -d $HOME/.local/share/themes; cp -R ./Paper/ $HOME/.local/share/themes/; install -d $HOME/.themes; cp -R ./Paper/ $HOME/.themes/;gsettings reset org.gnome.desktop.interface icon-theme; gsettings set org.gnome.desktop.interface icon-theme "Paper"; notify-send "All done!" "Enjoy the latest version of Paper!" -i face-smile'