Files
DotFiles/packages/hyprland/.config/hypr/hyprland.lua
T

23 lines
649 B
Lua

hl.monitor({ output = "", mode = "preferred", position = "auto", scale = 1 })
hl.on("hyprland.start", function()
hl.exec_cmd("waybar")
hl.exec_cmd("mako")
hl.exec_cmd("hyprpaper")
end)
local mainMod = "SUPER"
hl.bind(mainMod .. " + T", hl.dsp.exec_cmd("kitty"))
hl.bind(mainMod .. " + D", hl.dsp.exec_cmd("wofi --show drun"))
hl.bind(mainMod .. " + Q", hl.dsp.window.close())
hl.bind(mainMod .. " + M", hl.dsp.exit())
hl.config({
input = { kb_layout = "us" },
general = { gaps_in = 4, gaps_out = 8, border_size = 2 },
})
-- optional, machine-generated, only present when install detected an NVIDIA GPU
pcall(require, "conf.d.nvidia")