From 5262fc9a5bfb260ec9764857671d1de12f14d3eb Mon Sep 17 00:00:00 2001 From: AngeD Date: Wed, 7 Sep 2022 10:37:25 +0200 Subject: [PATCH] feat: floating windows are always on top --- .config/awesome/rc.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index 475aece..336fb8e 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -368,7 +368,6 @@ globalkeys = gears.table.join( end, {description = "take a rectangular screenshot", group = "shortcut"} ) - ) clientkeys = @@ -390,7 +389,10 @@ clientkeys = ), awful.key( {modkey}, "space", - awful.client.floating.toggle, + function (c) + c.floating = not c.floating + c.ontop = c.floating + end, {description = "toggle floating", group = "client"} ), awful.key(