Introduce programmable layout switching, improve split scaling, update monitor resolution and environment variables, and enable new swipe behavior. - New Features: - Added `cycle_layout` function and keybindings (MOD+Tab / MOD+Shift+Tab) to cycle through workspace layouts with on-screen notifications. - Enabled `workspace_swipe_create_new` to create a new workspace on swipe. - Enhancements: - Updated `dwindle` and `master` split configuration with revised `special_scale_factor`. - Set monitor `output` to fixed "1920x1080@144" mode. - Refactored environment variable definitions into a table and added Nvidia-specific settings. - Adjusted `master` new status to "master" and `new_on_top` to true. - Bug Fixes: - Cleaned up dead code and comments, removed unused `kb_options` line, fixed formatting.
34 lines
731 B
Lua
34 lines
731 B
Lua
-- Monitors
|
|
|
|
hl.monitor({
|
|
output = "eDP-1",
|
|
mode = "1920x1080@144",
|
|
position = "auto",
|
|
scale = 1,
|
|
})
|
|
|
|
-- Env Vars
|
|
|
|
for key, val in pairs({
|
|
XCURSOR_SIZE = "6",
|
|
CLUTTER_BACKEND = "wayland",
|
|
GDK_BACKEND = "wayland,x11,*",
|
|
QT_QPA_PLATFORM = "wayland;xcb",
|
|
QT_AUTO_SCREEN_SCALE_FACTOR = "1",
|
|
QT_WAYLAND_DISABLE_WINDOWDECORATION = "1",
|
|
QT_QPA_PLATFORMTHEME = "qt6ct",
|
|
SDL_VIDEODRIVER = "wayland",
|
|
GDK_SCALE = "1",
|
|
QT_SCALE_FACTOR = "1",
|
|
MOZ_ENABLE_WAYLAND = "1",
|
|
ELECTRON_OZONE_PLATFORM_HINT = "auto",
|
|
ELECTRON_ARGS = "--enable-features=UseOzonePlatform --ozone-platform=wayland",
|
|
|
|
-- nvidia
|
|
GBM_BACKEND = "nvidia-drm",
|
|
__GLX_VENDOR_LIBRARY_NAME = "nvidia",
|
|
LIBVA_DRIVER_NAME = "nvidia",
|
|
}) do
|
|
hl.env(key, val)
|
|
end
|