#!/bin/bash # Define the array of colors colors=("ff3333" "00cc66" "3399ff" "ffff00" "ffffff") # Read the current value from the file current_color=$( ~/.config/current_colour asusctl led-mode static -c "$next_color" else echo "Current color not found in the array." fi