35 lines
1.7 KiB
Lua
35 lines
1.7 KiB
Lua
-- Generated by HyprMod
|
|
-- Ported from hyprland-gui.conf
|
|
--
|
|
-- HyprMod isn't currently installed on this machine, so this is a straight syntax port of
|
|
-- whatever it last wrote. If you reinstall HyprMod, prefer letting its own "Migrate to Lua…"
|
|
-- wizard take over managing this file instead of hand-editing it going forward.
|
|
|
|
-- vrr forced off globally: the per-monitor vrr = 0 flag below does NOT override this when
|
|
-- misc.vrr is 1 (tested live on Hyprland 0.56.2 — DP-2 stayed vrr:true until this global
|
|
-- was changed). DP-2 (Acer VG240Y S) flickers under VRR when idle in fullscreen (mouse
|
|
-- stationary -> no repaint damage -> frame delivery stalls near the panel's VRR floor).
|
|
-- The other two monitors don't negotiate VRR at all, so this has no effect on them.
|
|
hl.config({
|
|
general = {
|
|
allow_tearing = true,
|
|
snap = {
|
|
enabled = false,
|
|
},
|
|
},
|
|
misc = {
|
|
vrr = 0,
|
|
},
|
|
})
|
|
|
|
-- Monitors
|
|
hl.monitor({ output = "DP-2", mode = "1920x1080@165.00Hz", position = "0x0", scale = 1, bitdepth = 10, cm = "wide", vrr = 0 })
|
|
|
|
-- Keybinds
|
|
-- (unbind = SUPER SHIFT, Print / unbind = SUPER, up from the source .conf have no Lua equivalent needed —
|
|
-- we just don't define a conflicting bind elsewhere; SUPER + up -> movefocus u below is otherwise identical
|
|
-- to the one already in keybinds.lua, kept here too for parity with the original file)
|
|
hl.bind("SUPER + Print", hl.dsp.exec_cmd("hyprshot -o " .. os.getenv("HOME") .. "/Pictures/Screenshots-Linux -m region"))
|
|
hl.bind("SUPER + up", hl.dsp.focus({ direction = "u" }))
|
|
hl.bind("SUPER + SHIFT + Print", hl.dsp.exec_cmd("hyprshot -o " .. os.getenv("HOME") .. "/Pictures/Screenshots-Linux -m window"))
|