Files
dotfiles/system-config/config/user/laptop/hypr/machine.lua
T

39 lines
1.3 KiB
Lua

-- Laptop profile: leave monitor selection to Hyprland's hotplug support.
-- Noctalia replaces the i3-era Redshift, Polybar, Blueman Applet, and Picom stack.
return {
is_laptop = true,
-- Use the colon-free user-config alias for the stable PCI path rather than
-- cardN, whose numbering can change between boots. AQ_DRM_DEVICES itself
-- uses colons as device separators. This keeps Hyprland off the NVIDIA dGPU
-- so it can enter Runtime D3 when no application is explicitly offloaded.
environment = {
AQ_DRM_DEVICES = os.getenv("HOME") .. "/.config/hypr/intel-drm",
},
input = {
touchpad = {
-- Standard laptop behavior: one/two/three-finger taps map to
-- left/right/middle click, and a second tap held down starts a drag.
tap_to_click = true,
tap_button_map = "lrm",
tap_and_drag = true,
drag_lock = false,
clickfinger_behavior = true,
disable_while_typing = true,
-- Preserve natural two-finger scrolling at the default sensitivity.
natural_scroll = true,
scroll_factor = 1.0,
},
},
monitors = {},
startup = {
"noctalia",
-- Start after Noctalia has claimed the StatusNotifier watcher.
"sh -c 'sleep 2; exec mullvad-vpn'",
"obsidian",
"thunderbird",
"nextcloud",
"spotify",
},
}