A fork of the Materia GTK theme.

Important information: Google announced that, from September 2026, Android devices will require ALL apps to be signed by Google, effectively leading to an iOS situation. Value your right to a computer that does what you want; do not tolerate this monopolistic practice! Contact me if you don't understand why it is bad. Click to learn more.

Use 2 spaces for indentation

by roundabout, Friday, 5 May 2017, 10:42:53 (1493980973), pushed by roundabout, Sunday, 11 May 2025, 13:22:08 (1746969728)

Author identity: nana-4 <hnmaigo@gmail.com>

e6be4841b10178e75c61fd63cd71cfd166acf2b7

install.sh

@@ -4,175 +4,175 @@ repodir=$(cd $(dirname $0) && pwd)

                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            srcdir=${repodir}/src
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            if type -p gnome-shell > /dev/null ; then
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        	gnomever=$(gnome-shell --version | cut -d ' ' -f 3 | cut -d . -f -2)
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                          gnomever=$(gnome-shell --version | cut -d ' ' -f 3 | cut -d . -f -2)
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            else
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        	gnomever=3.18
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                          gnomever=3.18
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            fi
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            echo
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            for color in '' '-dark' '-light' ; do
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        	for size in '' '-compact' ; do
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        		echo Installing Flat-Plat${color}${size} ...
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                          for size in '' '-compact' ; do
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            echo Installing Flat-Plat${color}${size} ...
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        		themedir=${destdir}/usr/share/themes/Flat-Plat${color}${size}
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        		install -d ${themedir}
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            themedir=${destdir}/usr/share/themes/Flat-Plat${color}${size}
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            install -d ${themedir}
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        		# Copy COPYING
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        		cd ${repodir}
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        		cp -ur \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        			COPYING \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        			${themedir}
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            # Copy COPYING
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            cd ${repodir}
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            cp -ur \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                              COPYING \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                              ${themedir}
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        		# Install index.theme
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        		cd ${srcdir}
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        		cp -ur \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        			index${color}${size}.theme \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        			${themedir}/index.theme
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            # Install index.theme
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            cd ${srcdir}
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            cp -ur \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                              index${color}${size}.theme \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                              ${themedir}/index.theme
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        		# Install Chrome Theme/Extention
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        		install -d ${themedir}/chrome
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        		cd ${srcdir}/chrome
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        		cp -ur \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        			"Flat-Plat${color} Theme.crx" \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        			${themedir}/chrome
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        		if [ "$color" != '-dark' ] ; then
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        			cp -ur \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        				"Flat-Plat Scrollbars.crx" \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        				${themedir}/chrome
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        		else
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        			cp -ur \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        				"Flat-Plat${color} Scrollbars.crx" \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        				${themedir}/chrome
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        		fi
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            # Install Chrome Theme/Extention
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            install -d ${themedir}/chrome
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            cd ${srcdir}/chrome
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            cp -ur \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                              "Flat-Plat${color} Theme.crx" \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                              ${themedir}/chrome
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            if [ "$color" != '-dark' ] ; then
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                              cp -ur \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                "Flat-Plat Scrollbars.crx" \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                ${themedir}/chrome
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            else
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                              cp -ur \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                "Flat-Plat${color} Scrollbars.crx" \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                ${themedir}/chrome
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            fi
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        		# Install GNOME Shell Theme
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        		install -d ${themedir}/gnome-shell
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        		cd ${srcdir}/gnome-shell/${gnomever}
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        		cp -ur \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        			no-events.svg \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        			no-notifications.svg \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        			process-working.svg \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        			${themedir}/gnome-shell
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        		cp -urL \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        			extensions \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        			pad-osd.css \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        			${themedir}/gnome-shell
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        		if [ "$color" != '-dark' ] ; then
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        			cp -urL \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        				assets \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        				${themedir}/gnome-shell
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        		else
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        			cp -urL \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        				assets${color} \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        				${themedir}/gnome-shell/assets
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        		fi
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        		cp -ur \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        			gnome-shell${color}${size}.css \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        			${themedir}/gnome-shell/gnome-shell.css
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        		glib-compile-resources \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        			--sourcedir=${themedir}/gnome-shell \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        			--target=${themedir}/gnome-shell/gnome-shell-theme.gresource \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        			gnome-shell-theme.gresource.xml
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            # Install GNOME Shell Theme
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            install -d ${themedir}/gnome-shell
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            cd ${srcdir}/gnome-shell/${gnomever}
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            cp -ur \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                              no-events.svg \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                              no-notifications.svg \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                              process-working.svg \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                              ${themedir}/gnome-shell
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            cp -urL \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                              extensions \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                              pad-osd.css \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                              ${themedir}/gnome-shell
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            if [ "$color" != '-dark' ] ; then
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                              cp -urL \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                assets \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                ${themedir}/gnome-shell
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            else
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                              cp -urL \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                assets${color} \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                ${themedir}/gnome-shell/assets
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            fi
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            cp -ur \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                              gnome-shell${color}${size}.css \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                              ${themedir}/gnome-shell/gnome-shell.css
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            glib-compile-resources \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                              --sourcedir=${themedir}/gnome-shell \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                              --target=${themedir}/gnome-shell/gnome-shell-theme.gresource \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                              gnome-shell-theme.gresource.xml
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        		# Install GTK+ 2 Theme
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        		install -d ${themedir}/gtk-2.0
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        		cd ${srcdir}/gtk-2.0
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        		cp -ur \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        			apps.rc \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        			hacks.rc \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        			main.rc \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        			${themedir}/gtk-2.0
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        		if [ "$color" != '-dark' ] ; then
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        			cp -ur \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        				assets \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        				${themedir}/gtk-2.0
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        		else
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        			cp -ur \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        				assets${color} \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        				${themedir}/gtk-2.0/assets
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        		fi
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        		cp -ur \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        			gtkrc${color} \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        			${themedir}/gtk-2.0/gtkrc
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            # Install GTK+ 2 Theme
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            install -d ${themedir}/gtk-2.0
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            cd ${srcdir}/gtk-2.0
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            cp -ur \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                              apps.rc \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                              hacks.rc \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                              main.rc \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                              ${themedir}/gtk-2.0
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            if [ "$color" != '-dark' ] ; then
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                              cp -ur \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                assets \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                ${themedir}/gtk-2.0
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            else
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                              cp -ur \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                assets${color} \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                ${themedir}/gtk-2.0/assets
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            fi
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            cp -ur \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                              gtkrc${color} \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                              ${themedir}/gtk-2.0/gtkrc
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        		# Install GTK+ 3 Theme
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        		install -d ${themedir}/gtk-common
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        		cd ${srcdir}/gtk-3.0/gtk-common
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        		cp -ur \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        			assets \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        			${themedir}/gtk-common
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            # Install GTK+ 3 Theme
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            install -d ${themedir}/gtk-common
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            cd ${srcdir}/gtk-3.0/gtk-common
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            cp -ur \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                              assets \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                              ${themedir}/gtk-common
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        		for version in '3.18' '3.20' '3.22' ; do
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        			if [ "$version" == '3.18' ] ; then
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        				install -d ${themedir}/gtk-3.0
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        				cd ${srcdir}/gtk-3.0/${version}
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        				cp -ur \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        					assets \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        					${themedir}/gtk-3.0
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        				cp -ur \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        					gtk${color}.css \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        					${themedir}/gtk-3.0/gtk.css
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        				if [ "$color" != '-dark' ] ; then
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        					cp -ur \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        						gtk-dark.css \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        						${themedir}/gtk-3.0
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        				fi
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        			else
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        				install -d ${themedir}/gtk-${version}
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        				cd ${srcdir}/gtk-3.0/${version}
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        				cp -ur \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        					assets \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        					${themedir}/gtk-${version}
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        				cp -ur \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        					gtk${color}${size}.css \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        					${themedir}/gtk-${version}/gtk.css
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        				if [ "$color" != '-dark' ] ; then
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        					cp -ur \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        						gtk-dark${size}.css \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        						${themedir}/gtk-${version}/gtk-dark.css
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        				fi
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        			fi
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        		done
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            for version in '3.18' '3.20' '3.22' ; do
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                              if [ "$version" == '3.18' ] ; then
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                install -d ${themedir}/gtk-3.0
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                cd ${srcdir}/gtk-3.0/${version}
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                cp -ur \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                  assets \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                  ${themedir}/gtk-3.0
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                cp -ur \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                  gtk${color}.css \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                  ${themedir}/gtk-3.0/gtk.css
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                if [ "$color" != '-dark' ] ; then
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                  cp -ur \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                    gtk-dark.css \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                    ${themedir}/gtk-3.0
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                fi
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                              else
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                install -d ${themedir}/gtk-${version}
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                cd ${srcdir}/gtk-3.0/${version}
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                cp -ur \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                  assets \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                  ${themedir}/gtk-${version}
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                cp -ur \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                  gtk${color}${size}.css \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                  ${themedir}/gtk-${version}/gtk.css
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                if [ "$color" != '-dark' ] ; then
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                  cp -ur \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                    gtk-dark${size}.css \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                    ${themedir}/gtk-${version}/gtk-dark.css
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                fi
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                              fi
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            done
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        		# Install Metacity Theme
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        		install -d ${themedir}/metacity-1
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        		cd ${srcdir}/metacity-1
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        		cp -ur \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        			*.svg \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        			${themedir}/metacity-1
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        		if [ "$color" != '-light' ] ; then
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        			cp -ur \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        				metacity-theme-2.xml \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        				metacity-theme-3.xml \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        				${themedir}/metacity-1
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        		else
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        			cp -ur \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        				metacity-theme-2${color}.xml \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        				${themedir}/metacity-1/metacity-theme-2.xml
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        			cp -ur \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        				metacity-theme-3${color}.xml \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        				${themedir}/metacity-1/metacity-theme-3.xml
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        		fi
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            # Install Metacity Theme
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            install -d ${themedir}/metacity-1
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            cd ${srcdir}/metacity-1
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            cp -ur \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                              *.svg \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                              ${themedir}/metacity-1
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            if [ "$color" != '-light' ] ; then
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                              cp -ur \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                metacity-theme-2.xml \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                metacity-theme-3.xml \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                ${themedir}/metacity-1
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            else
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                              cp -ur \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                metacity-theme-2${color}.xml \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                ${themedir}/metacity-1/metacity-theme-2.xml
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                              cp -ur \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                metacity-theme-3${color}.xml \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                ${themedir}/metacity-1/metacity-theme-3.xml
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            fi
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        		# Install Unity Theme
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        		install -d ${themedir}/unity
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        		cd ${srcdir}/unity
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        		cp -ur \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        			*.svg \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        			*.png \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        			*.json \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        			${themedir}/unity
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        		if [ "$color" != '-light' ] ; then
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        			cp -ur \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        				buttons \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        				${themedir}/unity
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        		else
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        			cp -urT \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        				buttons${color} \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        				${themedir}/unity/buttons
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        		fi
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        	done
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            # Install Unity Theme
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            install -d ${themedir}/unity
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            cd ${srcdir}/unity
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            cp -ur \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                              *.svg \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                              *.png \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                              *.json \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                              ${themedir}/unity
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            if [ "$color" != '-light' ] ; then
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                              cp -ur \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                buttons \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                ${themedir}/unity
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            else
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                              cp -urT \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                buttons${color} \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                ${themedir}/unity/buttons
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            fi
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                          done
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            done
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            echo
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                            
                                

parse-sass.sh

@@ -1,16 +1,16 @@

                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            #!/bin/sh
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            for color in '' '-dark' '-light' ; do
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        	sassc -t expanded src/gtk-3.0/3.18/gtk${color}.{scss,css}
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                          sassc -t expanded src/gtk-3.0/3.18/gtk${color}.{scss,css}
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        	for size in '' '-compact' ; do
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        		for version in '3.20' '3.22' ; do
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        			sassc -t expanded src/gtk-3.0/${version}/gtk${color}${size}.{scss,css}
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        		done
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                          for size in '' '-compact' ; do
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            for version in '3.20' '3.22' ; do
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                              sassc -t expanded src/gtk-3.0/${version}/gtk${color}${size}.{scss,css}
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            done
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        		# This gnome-shell theme can skip versions '3.20' & '2.22'
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        		for version in '3.18' '3.24' ; do
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        			sassc -t expanded src/gnome-shell/${version}/gnome-shell${color}${size}.{scss,css}
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        		done
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        	done
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            # This gnome-shell theme can skip versions '3.20' & '2.22'
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            for version in '3.18' '3.24' ; do
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                              sassc -t expanded src/gnome-shell/${version}/gnome-shell${color}${size}.{scss,css}
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            done
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                          done
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            done