forked from Shinonome/dots-hyprland
Don't use cache for fuzzel.theme
This commit is contained in:
@@ -54,11 +54,10 @@ apply_fuzzel() {
|
||||
return
|
||||
fi
|
||||
# Copy template
|
||||
mkdir -p "$CACHE_DIR"/user/generated/fuzzel
|
||||
cp "scripts/templates/fuzzel/fuzzel.theme" "$CACHE_DIR"/user/generated/fuzzel/fuzzel.theme
|
||||
cp "scripts/templates/fuzzel/fuzzel.theme" "$XDG_CONFIG_HOME"/fuzzel/fuzzel.theme
|
||||
# Apply colors
|
||||
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
|
||||
}
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
include="~/.cache/ags/user/generated/fuzzel/fuzzel.theme"
|
||||
include="~/.config/fuzzel/fuzzel.theme"
|
||||
font=Gabarito
|
||||
terminal=foot -e
|
||||
prompt=">> "
|
||||
|
||||
Reference in New Issue
Block a user