gpu config
This commit is contained in:
+20
-17
@@ -1,33 +1,36 @@
|
||||
-- Cursor size
|
||||
hl.env("XCURSOR_SIZE", "24")
|
||||
hl.env("HYPRCURSOR_SIZE", "24")
|
||||
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")
|
||||
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('XDG_CURRENT_DESKTOP', 'Hyprland')
|
||||
hl.env('XDG_SESSION_DESKTOP', 'Hyprland')
|
||||
|
||||
hl.config({
|
||||
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")
|
||||
hl.env('XCOMPOSEFILE', '~/.config/xcompose')
|
||||
|
||||
-- Don't show update on first launch
|
||||
hl.config({
|
||||
hl.config {
|
||||
ecosystem = {
|
||||
no_update_news = true,
|
||||
},
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user