additional work to setup hyprland
This commit is contained in:
@@ -67,7 +67,9 @@ hl.config({
|
||||
})
|
||||
|
||||
hl.curve("linear", { type = "bezier", points = { { 0, 0 }, { 1, 1 } } })
|
||||
hl.animation({ leaf = "borderangle", enabled = true, speed = 50, bezier = "linear", style = "loop" })
|
||||
-- borderangle disabled: the old "loop" style animated continuously, forcing
|
||||
-- constant redraws and spiking idle CPU usage even with VFR enabled.
|
||||
hl.animation({ leaf = "borderangle", enabled = false, speed = 50, bezier = "linear", style = "loop" })
|
||||
hl.animation({ leaf = "workspaces", enabled = true, speed = 0.5, bezier = "default" })
|
||||
hl.animation({ leaf = "windows", enabled = false })
|
||||
hl.animation({ leaf = "fade", enabled = false })
|
||||
@@ -83,9 +85,23 @@ hl.config({
|
||||
-- new_is_master = true
|
||||
-- }
|
||||
|
||||
-- CPU/power efficiency. See https://wiki.hypr.land/Configuring/Variables/#misc
|
||||
hl.config({
|
||||
misc = {
|
||||
force_default_wallpaper = 0, -- Set to 0 or 1 to disable the anime mascot wallpapers
|
||||
middle_click_paste = false,
|
||||
-- Don't wake/re-render just because the cursor crossed a monitor edge.
|
||||
mouse_move_focuses_monitor = false,
|
||||
-- Skip drawing the Hyprland logo in the corner of empty workspaces.
|
||||
disable_hyprland_logo = true,
|
||||
},
|
||||
})
|
||||
|
||||
-- Variable framerate: only redraw when the scene actually changes instead of
|
||||
-- running at a fixed rate. This is the single biggest idle-CPU saver; it is
|
||||
-- true by default, but set explicitly (note it lives under `debug:`).
|
||||
hl.config({
|
||||
debug = {
|
||||
vfr = true,
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user