From 25aba7db7cd2b28a0b153a090f8cee4007cabc76 Mon Sep 17 00:00:00 2001 From: DarkWiiPlayer Date: Mon, 22 Feb 2021 18:27:13 +0100 Subject: [PATCH] Update awesome bindings --- awesome/rc.lua | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/awesome/rc.lua b/awesome/rc.lua index a56b1df..7040e68 100644 --- a/awesome/rc.lua +++ b/awesome/rc.lua @@ -49,6 +49,7 @@ beautiful.init(gears.filesystem.get_themes_dir() .. "default/theme.lua") -- This is used later as the default terminal and editor to run. terminal = "kitty" -- "x-terminal-emulator" +browser = "luakit" editor = os.getenv("EDITOR") or "editor" editor_cmd = terminal .. " -e " .. editor @@ -61,19 +62,19 @@ modkey = "Mod4" -- Table of layouts to cover with awful.layout.inc, order matters. awful.layout.layouts = { - awful.layout.suit.floating, + --awful.layout.suit.max.fullscreen, + awful.layout.suit.max, + awful.layout.suit.spiral, + awful.layout.suit.spiral.dwindle, awful.layout.suit.tile, awful.layout.suit.tile.left, awful.layout.suit.tile.bottom, awful.layout.suit.tile.top, awful.layout.suit.fair, awful.layout.suit.fair.horizontal, - 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.floating, -- awful.layout.suit.corner.ne, -- awful.layout.suit.corner.sw, -- awful.layout.suit.corner.se, @@ -272,7 +273,9 @@ function () end, {description = "focus previous by index", group = "client"} ), -awful.key({ modkey}, "w", function () mymainmenu:show() end, +awful.key({ modkey}, "w", function () + awful.spawn(browser) +end, {description = "show main menu", group = "awesome"}), -- Layout manipulation