Move all omarchy runtime state (themes, backgrounds, current theme) from ~/.config/omarchy/current to ~/.local/state/omarchy/current to keep the config dir free of generated files. Add mise task for recreating symlinks and update credential helpers for tea.
11 lines
283 B
Bash
Executable File
11 lines
283 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# omarchy:summary=Apply the current theme keyboard color to ASUS ROG keyboards
|
|
# omarchy:hidden=true
|
|
|
|
ASUSCTL_THEME=~/.local/state/omarchy/current/theme/keyboard.rgb
|
|
|
|
if omarchy-cmd-present asusctl; then
|
|
asusctl aura effect static -c $(sed 's/^#//' $ASUSCTL_THEME)
|
|
fi
|