Files
hyprland-dotfiles/config/settings.lua
T
2026-08-23 17:33:21 -07:00

69 lines
2.0 KiB
Lua

-- Central user-editable values. Domain modules consume this table so monitor
-- names, applications, modifiers, and workspace selectors stay in sync.
return {
-- SUPER is used for conventional desktop shortcuts. Caps Lock is mapped to
-- MOD3 in input.lua and acts as the Hyper modifier.
modifiers = {
main = "SUPER",
hyper = "MOD3",
},
-- Store raw executable names here. Callers decide whether a command should
-- be wrapped with `uwsm-app` or executed directly.
programs = {
terminal = "kitty",
file_manager = "dolphin",
launcher = "hyprlauncher",
},
-- Named outputs make cross-module references (such as workspace routing)
-- clearer than array indexes.
monitors = {
primary = {
output = "HDMI-A-1",
mode = "2560x1440@144",
position = "0x0",
scale = 1,
},
secondary = {
output = "DP-3",
mode = "2560x1440@120",
position = "2560x0",
scale = 1,
},
},
-- Both workspace rules and keybindings are generated from this list.
named_workspaces = {
{
name = "bilibili",
selector = "name:bilibili",
key = "F1",
layout = "stage"
},
{
name = "im",
selector = "name:im",
key = "F2",
layout = "scrolling"
},
},
-- .config/hypr/hyprland.lua
plugin = {
scrolloverview = {
gesture_distance = 300, -- how far is the "max" for the gesture
scale = 0.5, -- preferred overview scale
workspace_gap = 100,
layout = "vertical", -- vertical or horizontal
wallpaper = 2, -- 0: global only, 1: per-workspace only, 2: both
blur = true, -- blur only the main overview wallpaper
shadow = {
enabled = true,
range = 50,
},
},
}
}