Add reflector configuration

Improve dirname on scripts
This commit is contained in:
2024-09-13 11:42:27 +02:00
parent d4539b6c2b
commit f8780fa846
8 changed files with 58 additions and 13 deletions

View File

@@ -1,7 +1,8 @@
#!/bin/bash
source ./scripts/variables
_template() {
source ./scripts/variables
sed -i "s|{{foreground}}|$foreground|" "$1"
sed -i "s|{{foreground_light}}|$foreground_light|" "$1"
sed -i "s|{{foreground_lighter}}|$foreground_lighter|" "$1"
@@ -29,8 +30,6 @@ _template() {
}
_kernel_colors() {
source ./scripts/variables
printf "\e[32m==> Generating for kernel arg\e[0m\n"
transform_colors ()
{
printf "%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d" \