Files
hyprland-config/misc.lua
2026-05-19 03:14:37 +09:00

48 lines
1.5 KiB
Lua

-- Environment variables
hl.env("XCURSOR_THEME", "Cyberpunk")
hl.env("XCURSOR_SIZE", "24")
hl.env("HYPRCURSOR_THEME", "Cyberpunk")
hl.env("HYPRCURSOR_SIZE", "24")
hl.env("GTK_THEME", "Adwaita:dark")
hl.env("QT_QPA_PLATFORMTHEME", "gtk3")
hl.config({
misc = {
middle_click_paste = false,
force_default_wallpaper = -1,
disable_hyprland_logo = false,
},
input = {
kb_layout = "us",
follow_mouse = 1,
sensitivity = 0,
touchpad = {
natural_scroll = true,
clickfinger_behavior = 1,
},
},
xwayland = {
force_zero_scaling = true,
},
debug = {
disable_logs = false,
},
})
-- Device config: top-level hl.device(), not inside hl.config()
hl.device({ name = "epic-mouse-v1", sensitivity = -0.5 })
-- Plugin config: via hl.plugin namespace after plugin is loaded
hl.on("hyprland.start", function()
hl.plugin["split-monitor-workspaces"].count = 10
hl.plugin["split-monitor-workspaces"].keep_focused = 0
hl.plugin["split-monitor-workspaces"].enable_notifications = 0
hl.plugin["split-monitor-workspaces"].enable_persistent_workspaces = 1
end)
-- Window rules
hl.window_rule({ match = { class = "FreeCAD" }, no_initial_focus = true })
hl.window_rule({ match = { class = "^(OMEdit)$" }, no_initial_focus = true })
hl.window_rule({ match = { class = "^$", title = "^$", xwayland = true, float = true, fullscreen = false, pin = false }, no_focus = true })