Fix error with theme generation

This commit is contained in:
Dakedres 2024-03-22 09:33:20 -06:00
parent 2596c2c5e1
commit f2d7a3adfd

View File

@ -9,15 +9,15 @@ fi
source $MO_PATH source $MO_PATH
rgb_r() { rgb_r() {
echo "$((0x${MO_FUNCTION_ARGS[0]:0:2}))" printf "$((0x${MO_FUNCTION_ARGS[0]:0:2}))"
} }
rgb_g() { rgb_g() {
echo "$((0x${MO_FUNCTION_ARGS[0]:2:2}))" printf "$((0x${MO_FUNCTION_ARGS[0]:2:2}))"
} }
rgb_b() { rgb_b() {
echo "$((0x${MO_FUNCTION_ARGS[0]:4:4}))" printf "$((0x${MO_FUNCTION_ARGS[0]:4:4}))"
} }
set -a # All variables after this will be exported set -a # All variables after this will be exported