Override hyprland entry by default (#3201)

and provide --skip-hyprland-entry to skip that
This commit is contained in:
clsty
2026-04-08 14:01:22 +08:00
parent d44bbcfefc
commit ada4b856f6
2 changed files with 10 additions and 2 deletions
+7 -1
View File
@@ -48,9 +48,15 @@ case "${SKIP_HYPRLAND}" in
true) sleep 0;;
*)
install_dir__sync dots/.config/hypr/hyprland "$XDG_CONFIG_HOME"/hypr/hyprland
for i in hypr{land,lock}.conf {monitors,workspaces}.conf ; do
for i in hyprlock.conf {monitors,workspaces}.conf ; do
install_file__auto_backup "dots/.config/hypr/$i" "${XDG_CONFIG_HOME}/hypr/$i"
done
for i in hyprland.conf ; do
case "${SKIP_HYPRLAND_ENTRY}" in
true) sleep 0;;
*) install_file "dots/.config/hypr/$i" "${XDG_CONFIG_HOME}/hypr/$i" ;;
esac
done
for i in hypridle.conf ; do
if [[ "${INSTALL_VIA_NIX}" == true ]]; then
install_file__auto_backup "dots-extra/via-nix/$i" "${XDG_CONFIG_HOME}/hypr/$i"