fix(mba): scale & hyprland kitty

This commit is contained in:
2026-07-17 07:36:23 -04:00
parent 4d3a5039e9
commit dc0369137b
3 changed files with 10 additions and 4 deletions
@@ -1,8 +1,7 @@
-- Hyprland config (lua backend, Hyprland 0.55+).
-- `mainMod`, `menuMod`, and the monitor(s) are injected by Nix above this file.
-- `mainMod`, `menuMod`, `terminal`, and the monitor(s) are injected by Nix above this file.
-- See https://wiki.hypr.land/Configuring/Start/
local terminal = "ghostty"
local menu = "wofi --show drun"
-------------------
@@ -11,7 +10,7 @@ local menu = "wofi --show drun"
hl.on("hyprland.start", function()
hl.exec_cmd("uwsm app -- waybar")
hl.exec_cmd("uwsm app -- " .. terminal)
if terminal then hl.exec_cmd("uwsm app -- " .. terminal) end
hl.exec_cmd("uwsm app -- firefox")
end)
@@ -147,7 +146,7 @@ hl.bind(menuMod .. " + SHIFT + 3", hl.dsp.exec_cmd("hyprshot -m region"))
hl.bind(menuMod .. " + Q", hl.dsp.window.close())
-- Primary Bindings
hl.bind(mainMod .. " + RETURN", hl.dsp.exec_cmd(terminal))
if terminal then hl.bind(mainMod .. " + RETURN", hl.dsp.exec_cmd(terminal)) end
hl.bind(mainMod .. " + M", hl.dsp.exec_cmd("uwsm stop"))
hl.bind(mainMod .. " + V", hl.dsp.window.float({ action = "toggle" }))
hl.bind(mainMod .. " + P", hl.dsp.window.pin())