A fork of the Materia GTK theme.

By using this site, you agree to have cookies stored on your device, strictly for functional purposes, such as storing your session and preferences.

Dismiss

Update change_color.sh

Update change_color.sh

roundabout,
created on Thursday, 29 April 2021, 10:52:07 (1619693527), received on Sunday, 11 May 2025, 13:23:04 (1746969784)
Author identity: Yauhen Kirylau <actionless.loveless@gmail.com>

34bffc105fa2c72cf04b6c81e307aa6781c971e1

change_color.sh

@@ -305,7 +305,7 @@ meson install -C _build

                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            GENERATED_PATH="$tempdir/share/themes/Materia$COLOR_SUFFIX$SIZE_SUFFIX"
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            if [[ -d "$DEST_PATH" ]]; then
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            	rm -r "$DEST_PATH"
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        elif [[ ! -d "$(readlink -f $DEST_PATH/..)" ]]; then
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        elif [[ ! -d "$DEST_PATH"/.. ]]; then
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            	mkdir -p "$(readlink -f $DEST_PATH/..)"
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            fi
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            mv "$GENERATED_PATH" "$DEST_PATH"