forked from Shinonome/dots-hyprland
Don't use cache for fuzzel.theme
This commit is contained in:
@@ -54,11 +54,10 @@ apply_fuzzel() {
|
|||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
# Copy template
|
# Copy template
|
||||||
mkdir -p "$CACHE_DIR"/user/generated/fuzzel
|
cp "scripts/templates/fuzzel/fuzzel.theme" "$XDG_CONFIG_HOME"/fuzzel/fuzzel.theme
|
||||||
cp "scripts/templates/fuzzel/fuzzel.theme" "$CACHE_DIR"/user/generated/fuzzel/fuzzel.theme
|
|
||||||
# Apply colors
|
# Apply colors
|
||||||
for i in "${!colorlist[@]}"; do
|
for i in "${!colorlist[@]}"; do
|
||||||
sed -i "s/{{ ${colorlist[$i]} }}/${colorvalues[$i]#\#}/g" "$CACHE_DIR"/user/generated/fuzzel/fuzzel.theme
|
sed -i "s/{{ ${colorlist[$i]} }}/${colorvalues[$i]#\#}/g" "$XDG_CONFIG_HOME"/fuzzel/fuzzel.theme
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
include="~/.cache/ags/user/generated/fuzzel/fuzzel.theme"
|
include="~/.config/fuzzel/fuzzel.theme"
|
||||||
font=Gabarito
|
font=Gabarito
|
||||||
terminal=foot -e
|
terminal=foot -e
|
||||||
prompt=">> "
|
prompt=">> "
|
||||||
|
|||||||
Reference in New Issue
Block a user