Move flags to persistent setup so hyprctl reload doesn't reset them

This commit is contained in:
David Heinemeier Hansson
2026-04-17 14:16:47 +02:00
parent 8912bcb81c
commit 79d3b8cec6
12 changed files with 78 additions and 30 deletions
+9
View File
@@ -0,0 +1,9 @@
echo "Add flags sourcing to hyprland.conf"
HYPR_CONF=~/.config/hypr/hyprland.conf
source $OMARCHY_PATH/install/config/omarchy-config-flags.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"
fi