return function(is_laptop) hl.env("QT_QPA_PLATFORM", "wayland") hl.env("QT_QPA_PLATFORM_THEME", "qt6ct") hl.on("hyprland.start", function() -- hl.exec_cmd("~/.config/hypr/xdg-portal-hyprland") -- hl.exec_cmd("dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP XAUTHORITY DISPLAY") -- hl.exec_cmd("systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP") hl.exec_cmd("systemctl --user start hyprpolkitagent") hl.exec_cmd("hypridle") hl.exec_cmd("hyprpaper") hl.exec_cmd("hyprlauncher -d") hl.exec_cmd("nm-applet") hl.exec_cmd("nextcloud --background") hl.exec_cmd("dms run") hl.exec_cmd("wl-paste --watch cliphist store") if is_laptop then hl.exec_cmd("hyprctl setcursor oreo_spark_blue_cursors 36") else hl.exec_cmd("hyprctl setcursor oreo_spark_blue_cursors 24") end end) end