[Sync] Lua Hyprland chain, licence cleanup
This commit is contained in:
1 parent
93b4f695ce
commit
47166d877f
183 files changed
+5618
-5839
No files matched your search
@@ -1,28 +1,25 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
# Keep Hyprland on this repo's hyprlang config instead of HyDE's Lua one.
|
||||
# Pin Hyprland to HyDE's Lua entry point, explicitly.
|
||||
#
|
||||
# HyDE 26.x moved its Hyprland config to Lua. Its own `00-hyde.sh` (synced on
|
||||
# every update) points HYPRLAND_CONFIG at ~/.local/share/hypr/hyde.lua, and
|
||||
# Hyprland then never reads ~/.config/hypr/hyprland.conf — so every dots hypr
|
||||
# file (theme, keybinds, window rules, monitors, userprefs) is silently bypassed
|
||||
# and the session comes up as stock HyDE: no rounding/gaps/borders, HyDE's binds,
|
||||
# HyDE's plain waybar instead of the cava rig. Nothing errors; `hyprctl
|
||||
# configerrors` stays empty. The tell is the log's first lines:
|
||||
# [cfg] Config is either explicit or special. / [cfg] Config is lua, loading lua mgr
|
||||
#
|
||||
# `00-hyde.sh` assigns with `${HYPRLAND_CONFIG:-...}` and `env-hyprland` sources
|
||||
# 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. Session-start only — this needs a relogin, not a
|
||||
# `hyprctl reload`. HyDE syncs the whole env-hyprland.d/ directory but only ever
|
||||
# writes its own files into it, so this one survives updates.
|
||||
# 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`.
|
||||
#
|
||||
# ── STOPGAP, not the destination ──────────────────────────────────────────────
|
||||
# It pins ~/.local/share/hyde/hyprland.conf, which current HyDE no longer ships:
|
||||
# ours is a leftover from the pre-update install, so nothing regenerates it. And
|
||||
# 8 scripts our binds reach for through $scrPath are already gone from the new
|
||||
# lib/hyde — including dontkillsteam.sh, which is bound to Super+Q and Alt+F4.
|
||||
# The supported path is porting the hypr layer into ~/.config/hypr/hyprland.lua
|
||||
# (the one file HyDE promises never to overwrite). See HYDE-UPDATE.md.
|
||||
HYPRLAND_CONFIG="$HOME/.config/hypr/hyprland.conf"
|
||||
# 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
|
||||
Reference in new issue
Block a user