summaryrefslogtreecommitdiff
path: root/buttons.lua
diff options
context:
space:
mode:
authorTim Keller <tjkeller.xyz>2025-04-12 20:35:43 -0500
committerTim Keller <tjkeller.xyz>2025-04-12 20:35:43 -0500
commit90b9dcd2eddbbdee50f6ed3b974450706142f16a (patch)
tree952cd326994846200492c6ca1a2303cc1cbf3c4d /buttons.lua
parent98060b5004fff8889d352667c130d89c21459f9f (diff)
downloadawesome-90b9dcd2eddbbdee50f6ed3b974450706142f16a.tar.xz
awesome-90b9dcd2eddbbdee50f6ed3b974450706142f16a.zip
fix floating layout and classiclayout module
Diffstat (limited to 'buttons.lua')
-rw-r--r--buttons.lua2
1 files changed, 1 insertions, 1 deletions
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)
)