From fa65f1036ba21f0b481ed148f073df6323a65b18 Mon Sep 17 00:00:00 2001 From: zachir Date: Mon, 20 Jun 2022 20:05:59 -0500 Subject: awesome: update floating function, don't float mpv --- rc.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'rc.lua') diff --git a/rc.lua b/rc.lua index eca6fbe..e205ed2 100644 --- a/rc.lua +++ b/rc.lua @@ -476,7 +476,9 @@ clientkeys = gears.table.join( c:kill() end, {description = "close", group = "client"}), - awful.key({ modkey, "Control" }, "space", awful.client.floating.toggle , + awful.key({ modkey, "Control" }, "space", function (c) + c.floating = not c.floating + end, {description = "toggle floating", group = "client"}), awful.key({ modkey, "Control" }, "Return", function (c) c:swap(awful.client.getmaster()) @@ -616,7 +618,7 @@ awful.rules.rules = { "pinentry", }, class = { - "mpv", + --"mpv", "sphtop", "spterm", "sppmxr", -- cgit v1.2.3