diff --git a/config/hypr/hyprland.lua b/config/hypr/hyprland.lua index 71d8b39..3322466 100644 --- a/config/hypr/hyprland.lua +++ b/config/hypr/hyprland.lua @@ -131,4 +131,16 @@ hl.window_rule({ -- This runs a small script on every config load that switches hyprimate back -- off when a native animation is current. It must stay a separate process: -- calling hyprctl from inside Lua config evaluation deadlocks the compositor. -hl.exec_cmd("/home/lucas/.config/hyde/scripts/hyprimate-guard.sh") +hl.exec_cmd(os.getenv("HOME") .. "/.config/hyde/scripts/hyprimate-guard.sh") + +-- // █▄░█ █▀▀ █ █▄░█ █▀▄   █▄▄ █ █▄░█ █▀▄ +-- // █░▀█ ██▄ █ █░▀█ █▄▀   █▄█ █ █░▀█ █▄▀ +-- HyDE's Lua migration retired monitors.conf (HyDE issue #1977), so monitor +-- settings live in a per-machine file that is NOT tracked in this repo: +-- ~/.config/hypr/monitors.lua. Desktop and laptop each keep their own. +local monitors_file = os.getenv("HOME") .. "/.config/hypr/monitors.lua" +local mon = io.open(monitors_file, "r") +if mon then + mon:close() + dofile(monitors_file) +end