From 90b9dcd2eddbbdee50f6ed3b974450706142f16a Mon Sep 17 00:00:00 2001
From: Tim Keller <tjkeller.xyz>
Date: Sat, 12 Apr 2025 20:35:43 -0500
Subject: fix floating layout and classiclayout module

---
 buttons.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'buttons.lua')

diff --git a/buttons.lua b/buttons.lua
index ff87aae..bce8442 100644
--- a/buttons.lua
+++ b/buttons.lua
@@ -22,7 +22,7 @@ client_buttons = gears.table.join(
 
 -- wibar widgets
 layout_buttons = gears.table.join(
-	awful.button({ }, 1, function() awful.layout.inc(1, awful.screen.focused().tags[0]) end),
+	awful.button({ }, 1, function() awful.layout.inc(1, awful.screen.focused(), awful.layout.layouts) end),
 	awful.button({ }, 2, function() if client.focus and not client.focus.prevent_kill then client.focus:kill() end end)
 )
 
-- 
cgit v1.2.3