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.

install.sh: Avoid generating configured SCSS files in the source dir

Instead, pipe the output from sed to sassc.

by roundabout, Saturday, 6 March 2021, 23:40:33 (1615074033), pushed by roundabout, Sunday, 11 May 2025, 13:22:59 (1746969779)

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

4c3ac4b52a43f61b768e68bc4696f55102fc81d4

install.sh

@@ -142,8 +142,9 @@ install() {

                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                -e "s/@dark_theme@/$scss_dark_theme/g" \
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                -e "s/@light_topbar@/$scss_light_topbar/g" \
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                -e "s/@compact@/$scss_compact/g" \
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            "$SRC_DIR/cinnamon/cinnamon.scss.in" > "$SRC_DIR/cinnamon/cinnamon.$name.scss"
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                          sassc "${SASSC_OPT[@]}" "$SRC_DIR/cinnamon/cinnamon.$name.scss"               "$THEME_DIR/cinnamon/cinnamon.css"
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            -e "s#@current_source_dir@#$SRC_DIR/cinnamon#g" \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            "$SRC_DIR/cinnamon/cinnamon.scss.in" | \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                          sassc --stdin "${SASSC_OPT[@]}"                                               "$THEME_DIR/cinnamon/cinnamon.css"
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                              #
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                              # GNOME Shell
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        

@@ -163,8 +164,9 @@ install() {

                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                -e "s/@light_topbar@/$scss_light_topbar/g" \
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                -e "s/@compact@/$scss_compact/g" \
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                -e "s/@version@/$GS_VERSION/g" \
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            "$SRC_DIR/gnome-shell/gnome-shell.scss.in" > "$SRC_DIR/gnome-shell/gnome-shell.$name.scss"
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                          sassc "${SASSC_OPT[@]}" "$SRC_DIR/gnome-shell/gnome-shell.$name.scss"         "$THEME_DIR/gnome-shell/gnome-shell.css"
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            -e "s#@current_source_dir@#$SRC_DIR/gnome-shell#g" \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            "$SRC_DIR/gnome-shell/gnome-shell.scss.in" | \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                          sassc --stdin "${SASSC_OPT[@]}"                                               "$THEME_DIR/gnome-shell/gnome-shell.css"
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                              #
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                              # GTK 2
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        

@@ -195,8 +197,9 @@ install() {

                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                    -e "s/@light_topbar@/$scss_light_topbar/g" \
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                    -e "s/@compact@/$scss_compact/g" \
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                    -e "s/@version@/$GTK4_VERSION/g" \
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                "$SRC_DIR/gtk-$version/gtk$variant.scss.in" > "$SRC_DIR/gtk-$version/gtk$variant.$name.scss"
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                              sassc "${SASSC_OPT[@]}" "$SRC_DIR/gtk-$version/gtk$variant.$name.scss" "$THEME_DIR/gtk-$version/gtk$variant.css"
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                -e "s#@current_source_dir@#$SRC_DIR/gtk-$version#g" \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                "$SRC_DIR/gtk-$version/gtk$variant.scss.in" | \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                              sassc --stdin "${SASSC_OPT[@]}"                                           "$THEME_DIR/gtk-$version/gtk$variant.css"
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                done
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                              done