From c2b4c5cc3262cc7cdd7f52f00e29847d8cee43c3 Mon Sep 17 00:00:00 2001 From: XeonSquared Date: Mon, 2 Jan 2023 09:27:25 +1100 Subject: [PATCH] improvements relating to xfce4-terminal --- rc.lua | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/rc.lua b/rc.lua index 676b6b5..e096e28 100644 --- a/rc.lua +++ b/rc.lua @@ -63,7 +63,7 @@ for _, lvl in ipairs {"low", "normal", "critical"} do end modkey = "Mod4" -terminal = "kgx" +terminal = "xfce4-terminal" launcher = "xfce4-appfinder" -- {{{ Layout @@ -150,7 +150,16 @@ awful.rules.rules = { raise = true, placement = awful.placement.no_overlap + awful.placement.no_offscreen } - } + }, + -- Make terminals and mpv fill the whole screen rather than leave small gaps. + { + rule_any = { + class = {"xfce4-terminal", "Xfce4-terminal", "mpv"}, + }, + properties = { + size_hints_honor = false + } + }, } -- }}}