------ Programs Terminal = "foot" FileManager = "nautilus" Menu = "rofi -show drun" NotificationManager = "swaync-client -t" ------ Autostart -- Autostart necessary processes (like notifications daemons, status bars, etc.) hl.on("hyprland.start", function() hl.exec_cmd("~/.config/hypr/scripts/autostart.sh") -- Testing clipboard managers hl.exec_cmd("wl-paste --type text --watch cliphist store") -- Stores only text data hl.exec_cmd("wl-paste --type image --watch cliphist store") -- Stores only image data -- SSH Agent hl.exec_cmd("ssh-agent") end) ------ Permissions -- Please note permission changes here require a Hyprland restart and are not applied on-the-fly -- for security reasons hl.config({ ecosystem = { enforce_permissions = false, -- Disabled for the moment }, }) hl.permission({ binary = "/usr/bin/grim", type = "screencopy", mode = "allow" }) hl.permission({ binary = "/usr/bin/hyprlock", type = "screencopy", mode = "allow" }) -- XDG Desktop Portal hl.permission({ binary = "/usr/(lib|libexec|lib64)/xdg-desktop-portal-hyprland", type = "screencopy", mode = "allow" }) ------------------------------ ---- ENVIRONMENT VARIABLES --- ------------------------------ -- HyprCursor hl.env("HYPRCURSOR_THEME", "VolantesCursors") hl.env("XCURSOR_THEME", "VolantesCursors") hl.env("XCURSOR_SIZE", 24) hl.env("HYPRCURSOR_SIZE", 24) -- XDG Desktop Portal hl.env("XDG_SESSION_DESKTOP", "Hyprland") hl.env("XDG_CURRENT_DESKTOP", "Hyprland") -- Experimental -- GTK -- env = GTK_USE_PORTAL,1 -- env = GDK_SCALE,2 - Xwayland scale -- Qt -- env = QT_WAYLAND_DISABLE_WINDOWDECORATION, -- Firefox -- env = MOZ_ENABLE_WAYLAND,1 -- env = MOZ_USE_XINPUT2,1 -- WLRoots -- env = WLR_NO_HARDWARE_CURSORS,1 -- env = WLR_RENDERER,vulkan -- SDL -- env = SDL_VIDEODRIVER,wayland -- env = QT_QPA_PLATFORMTHEME,hyprqt6engine hl.env("QT_QPA_PLATFORMTHEME", "qt6ct") -- Nvidia -- GBM backend -- env = GBM_BACKEND,nvidia-drm -- env = __GLX_VENDOR_LIBRARY_NAME,nvidia -- Hardware acceleration -- env = LIBVA_DRIVER_NAME,nvidia -- env = NVD_BACKEND,direct