26 lines
1.4 KiB
Bash
26 lines
1.4 KiB
Bash
#!/usr/bin/env sh
|
|
|
|
# Pin Hyprland to HyDE's Lua entry point, explicitly.
|
|
#
|
|
# HyDE's own `00-hyde.sh` (synced on every update) assigns HYPRLAND_CONFIG with
|
|
# `${HYPRLAND_CONFIG:-...}` after sourcing shell/activate; env-hyprland sources
|
|
# `env-hyprland.d/*.sh` in glob order, so this file (10 sorts after 00) wins by
|
|
# assigning unconditionally. Keeping the pin alive — rather than deleting this
|
|
# file and trusting HyDE's default — preserves the invariant that the dots repo
|
|
# decides which config Hyprland starts with, and makes any rollback a one-line
|
|
# edit here. Session-start only: relogin, not `hyprctl reload`.
|
|
#
|
|
# The Lua chain: hyde.lua loads HyDE's lua/ modules, then the user override
|
|
# ~/.config/hypr/hyprland.lua (repo: gui/.config/hypr/hyprland.lua, which pulls
|
|
# in the per-host host.lua). None of the old hyprlang .conf files are read in
|
|
# Lua mode. See LUA-PORT.md for the full map, flip-day steps and rollback.
|
|
#
|
|
# ROLLBACK to hyprlang (the chain was retired at LUA-PORT.md step 8,
|
|
# 2026-09-10): restore gui/.config/hypr, wm/.config/hypr, lw/.config/hypr and
|
|
# gui/.local/share/hyde from bddbbf3 (the last pre-step-8 commit), ./install.sh, point this and
|
|
# the fish twin (gui/.config/fish/conf.d/00-hypr-config.fish) back at
|
|
# "$HOME/.config/hypr/hyprland.conf" and relogin. d851213 is the last
|
|
# hyprlang `main` (the port merged 2026-11-09).
|
|
HYPRLAND_CONFIG="${XDG_DATA_HOME:-$HOME/.local/share}/hypr/hyde.lua"
|
|
export HYPRLAND_CONFIG
|