diff --git a/hypr/base.lua b/hypr/base.lua index 0489699..3d9279c 100644 --- a/hypr/base.lua +++ b/hypr/base.lua @@ -14,8 +14,10 @@ pcall(require, "monitors") ---- MY PROGRAMS ---- --------------------- -local terminal = "kitty" -local fileManager = "kitty -e ranger" +-- kitty restores the last window's maximized state, which Hyprland obeys, so new terminals +-- would cover the layout instead of tiling into it +local terminal = "kitty -o remember_window_size=no" +local fileManager = terminal .. " -e ranger" local menu = "wofi --show drun" ---------------- @@ -151,7 +153,7 @@ hl.bind(mod .. " + CTRL + M", hl.dsp.exec_cmd("hyprpwcenter")) hl.bind(mod .. " + F2", hl.dsp.exec_cmd("waterfox")) hl.bind(mod .. " + F3", hl.dsp.exec_cmd(fileManager)) hl.bind(mod .. " + SHIFT + F3", hl.dsp.exec_cmd("pcmanfm")) -hl.bind(mod .. " + F5", hl.dsp.exec_cmd("kitty -e mocp")) +hl.bind(mod .. " + F5", hl.dsp.exec_cmd(terminal .. " -e mocp")) -- Toggle window layout between master and dwindle local layoutIsMaster = false