#!/bin/bash

# omarchy:summary=Apply the current theme keyboard color to ASUS ROG keyboards

ASUSCTL_THEME=~/.config/omarchy/current/theme/keyboard.rgb

if omarchy-cmd-present asusctl; then
  asusctl aura effect static -c $(sed 's/^#//' $ASUSCTL_THEME)
fi
