summaryrefslogtreecommitdiff
path: root/rc.lua
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2022-06-20 20:05:59 -0500
committerzachir <zachir@librem.one>2022-06-20 20:05:59 -0500
commitfa65f1036ba21f0b481ed148f073df6323a65b18 (patch)
treeaf1a92b6457ace39e23e96656787b4f07a8622bd /rc.lua
parent042793178c7954c2439f6037e78f723626f12c9f (diff)
awesome: update floating function, don't float mpv
Diffstat (limited to 'rc.lua')
-rw-r--r--rc.lua6
1 files changed, 4 insertions, 2 deletions
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",