|  | #!/bin/bash | 
						
						
							|  |  | 
						
						
							|  | set -e | 
						
						
							|  | 
 | 
						
						
							|  | # Define the backlight device | 
						
						
							|  | BACKLIGHT_DEVICE="/sys/class/backlight/intel_backlight" | 
						
						
							|  | INCREMENT=5000 # Adjust this to the value you want to increase | 
						
						
							|  | 
 | 
						
						
							|  | # Get the current and max brightness | 
						
						
							|  | current_brightness=$(cat "$BACKLIGHT_DEVICE/brightness") | 
						
						
							|  | max_brightness=$(cat "$BACKLIGHT_DEVICE/max_brightness") | 
						
						
							|  | 
 | 
						
						
							|  | # Calculate new brightness value | 
						
						
							|  | new_brightness=$((current_brightness + INCREMENT)) | 
						
						
							|  | 
 | 
						
						
							|  | # Ensure it doesn't exceed the maximum brightness | 
						
						
							|  | if [ "$new_brightness" -gt "$max_brightness" ]; then | 
						
						
							|  |     new_brightness=$max_brightness | 
						
						
							|  | fi | 
						
						
							|  | 
 | 
						
						
							|  | # Set the new brightness | 
						
						
							|  | echo "$new_brightness" > "$BACKLIGHT_DEVICE/brightness" | 
						
						
							|  | 
 | 
						
						
							|  | notify-send "Brightness increased to $new_brightness"
 |