Hyprland 0.55 crashes with my old config when I try to move to 2nd monitor or the app opens on second monitor. Please help me finish my lua rewrite. Here is the config:
local mainMod = "SUPER"
--local animationmod = require("~/.config/hypr/config/animation.lua")
--local autostartmod = require("~/.config/hypr/config/autostart.lua")
--local decorationmmod = require("~/.config/hypr/config/decorations.lua")
--local envmod = require("~/.config/hypr/config/environment.lua")
--local inputmod = require("~/.config/hypr/config/input.lua")
--local keybindsmod = require("~/.config/hypr/config/keybinds.lua")
--local monitormod = require("~/.config/hypr/config/monitor.lua")
--local variablesmod = require("~/.config/hypr/config/variables.lua")
--local windowrulesmod = require("~/.config/hypr/config/windowrules.lua")
local filemanager = "thunar"
local applauncher = "rofi -show drun -show-icons -theme"
local terminal = "kitty"
local idlehandler = "swayidle -w timeout 300 'swaylock -f -c 000000' before-sleep 'swaylock -f -c 000000' timeout 600 'hyprctl dispatch dpms off' resume 'hyprctl dispatch dpms on'"
local capturing = "XDG_CURRENT_DESKTOP=Sway flameshot gui -r | wl-copy"
local theme = "~/Downloads/rounded-nord-dark.rasi"
local theme1 = "~/Downloads/launchpad.rasi"
hl.env("HYPRCURSOR_SIZE,24")
hl.env("XCURSOR_SIZE,24")
hl.env("QT_CURSOR_SIZE,24")
hl.env("QT_QPA_PLATFORMTHEME,qt6ct")
hl.env("QT_QPA_PLATFORMTHEME,qt5ct")
hl.config ({