Use preexisting toggles setup

This commit is contained in:
David Heinemeier Hansson
2026-04-17 16:03:06 +02:00
parent adb8d01d57
commit e852895e5c
17 changed files with 30 additions and 30 deletions
+3 -3
View File
@@ -2,8 +2,8 @@ echo "Add flags sourcing to hyprland.conf"
HYPR_CONF=~/.config/hypr/hyprland.conf
source $OMARCHY_PATH/install/config/omarchy-config-flags.sh
source $OMARCHY_PATH/install/config/omarchy-toggles.sh
if [[ -f $HYPR_CONF ]] && ! grep -q "flags/hypr/\*\.conf" "$HYPR_CONF"; then
echo -e "\n# Toggle config flags dynamically\nsource = ~/.local/state/omarchy/flags/hypr/*.conf" >> "$HYPR_CONF"
if [[ -f $HYPR_CONF ]] && ! grep -q "toggles/hypr/\*\.conf" "$HYPR_CONF"; then
echo -e "\n# Toggle config flags dynamically\nsource = ~/.local/state/omarchy/toggles/hypr/*.conf" >> "$HYPR_CONF"
fi