Extract monitors, functions, rules, env vars, and onstart into separate files. Add toggle_pin, toggle_master_scrolling, and layout-aware keybinds for scrolling layout.
29 lines
908 B
Lua
29 lines
908 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")
|
|
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")
|
|
|
|
-- Use XCompose file
|
|
hl.env("XCOMPOSEFILE", "~/.XCompose")
|
|
|
|
-- Make Chromium use XCompose and all Wayland
|
|
hl.env("CHROMIUM_FLAGS", "--enable-features=UseOzonePlatform --ozone-platform=wayland --gtk-version=4")
|
|
|
|
-- Make .desktop files available for wofi
|
|
hl.env("XDG_DATA_DIRS", "/usr/share:/usr/local/share:~/.local/share")
|
|
|