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.

fix(scripts: darker): convert hex to int before math

by roundabout, Wednesday, 25 January 2023, 21:40:23 (1674682823), pushed by roundabout, Sunday, 11 May 2025, 13:23:04 (1746969784)

Author identity: actionless <actionless.loveless@gmail.com>

6e5850388a25f424b8193fe4523504d1dc364175

scripts/darker.sh

@@ -5,7 +5,8 @@ set -ueo pipefail

                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            darker_channel() {
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                              value="$1"
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                              light_delta="$2"
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                          result="$(bc <<< "ibase=16; $value - $light_delta")"
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                          value_int="$(bc <<< "ibase=16; $value")"
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                          result="$(bc <<< "$value_int - $light_delta")"
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                              if [[ "$result" -lt 0 ]]; then
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                result=0
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                              fi