Fix error with theme generation
This commit is contained in:
parent
2596c2c5e1
commit
f2d7a3adfd
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user