Files
dotfiles/.config/hypr/envs.lua
T
2026-08-16 17:40:11 +01:00

37 lines
894 B
Lua

-- Cursor size
hl.env('XCURSOR_SIZE', '24')
hl.env('HYPRCURSOR_SIZE', '24')
-- Force all apps to use Wayland
hl.env('GDK_BACKEND', 'wayland,x11,*')
hl.env('QT_QPA_PLATFORM', 'wayland;xcb')
hl.env('QT_STYLE_OVERRIDE', 'kvantum')
hl.env('SDL_VIDEODRIVER', 'wayland,x11')
hl.env('MOZ_ENABLE_WAYLAND', '1')
hl.env('ELECTRON_OZONE_PLATFORM_HINT', 'wayland')
hl.env('OZONE_PLATFORM', 'wayland')
hl.env('XDG_SESSION_TYPE', 'wayland')
-- Allow better support for screen sharing (Google Meet, Discord, etc)
hl.env('XDG_CURRENT_DESKTOP', 'Hyprland')
hl.env('XDG_SESSION_DESKTOP', 'Hyprland')
hl.env('WLR_DRM_DEVICES', '/dev/dri/card0:/dev/dri/card1')
hl.config {
xwayland = {
force_zero_scaling = true,
},
}
-- Use XCompose file
hl.env('XCOMPOSEFILE', '~/.config/xcompose')
-- Don't show update on first launch
hl.config {
ecosystem = {
no_update_news = true,
},
}