aboutsummaryrefslogtreecommitdiff
path: root/.config/awesome
diff options
context:
space:
mode:
authorBlista Kanjo2023-07-12 04:33:54 -0400
committerBlista Kanjo2023-07-12 04:33:54 -0400
commitafbd156fcc9917ae46620986d5f56ca534082193 (patch)
tree68730625baeac8c56dbf0f5a5ca63a22297e522a /.config/awesome
parent67b607f3374c6ac59b0d26ed5920ef81e37b2419 (diff)
feat: `awesome 4.3.3` backward compatibility
Diffstat (limited to '.config/awesome')
-rw-r--r--.config/awesome/rc.lua24
1 files changed, 15 insertions, 9 deletions
diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua
index 0d04889..a913cfd 100644
--- a/.config/awesome/rc.lua
+++ b/.config/awesome/rc.lua
@@ -37,24 +37,30 @@ editor_cmd = terminal .. " -e " .. editor
-- However, you can use another modifier like Mod1, but it may interact with others.
modkey = "Mod4"
--- Table of layouts to cover with awful.layout.inc, order matters.
+-- table of layouts to cover with awful.layout.inc, order matters. (-git compatible)
tag.connect_signal("request::default_layouts", function()
awful.layout.append_default_layouts({
- -- awful.layout.suit.floating,
awful.layout.suit.tile,
- -- awful.layout.suit.tile.left,
- -- awful.layout.suit.tile.bottom,
- -- awful.layout.suit.tile.top,
+ awful.layout.suit.max,
+ -- awful.layout.suit.corner.nw,
-- awful.layout.suit.fair,
-- awful.layout.suit.fair.horizontal,
+ -- awful.layout.suit.floating,
+ -- awful.layout.suit.magnifier,
+ -- awful.layout.suit.max.fullscreen,
-- awful.layout.suit.spiral,
-- awful.layout.suit.spiral.dwindle,
- awful.layout.suit.max,
- -- awful.layout.suit.max.fullscreen,
- -- awful.layout.suit.magnifier,
- -- awful.layout.suit.corner.nw,
+ -- awful.layout.suit.tile.bottom,
+ -- awful.layout.suit.tile.left,
+ -- awful.layout.suit.tile.top,
})
end)
+
+-- active layout table (4.3.3 compatible)
+awful.layout.layouts = {
+ awful.layout.suit.tile,
+ awful.layout.suit.max,
+}
-- }}}
-- {{{ Sub-Menus