add lua-based config set
This commit is contained in:
44
misc.lua
Normal file
44
misc.lua
Normal file
@@ -0,0 +1,44 @@
|
||||
-- Environment variables
|
||||
hl.env("XCURSOR_THEME", "Cyberpunk")
|
||||
hl.env("XCURSOR_SIZE", "24")
|
||||
hl.env("HYPRCURSOR_THEME", "Cyberpunk")
|
||||
hl.env("HYPRCURSOR_SIZE", "24")
|
||||
|
||||
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 })
|
||||
Reference in New Issue
Block a user