79 lines
1.8 KiB
Lua
79 lines
1.8 KiB
Lua
|
|
-----------------
|
||
|
|
---- 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 = true,
|
||
|
|
},
|
||
|
|
})
|
||
|
|
|
||
|
|
|
||
|
|
------------------------------
|
||
|
|
---- 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
|
||
|
|
|