From a693cf387d85144205a561dc3d67243c82eacb67 Mon Sep 17 00:00:00 2001 From: Sheldon Lee Date: Sun, 16 Aug 2020 14:08:23 +0800 Subject: [PATCH] Changed tag related bindings. --- .config/awesome/rc.lua | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index aaf266f..e5d0891 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -334,7 +334,7 @@ globalkeys = gears.table.join( awful.key({ modkey }, "p", function() menubar.show() end, {description = "show the menubar", group = "launcher"}), - -- Custom Bindings + -- Custom bindings awful.key({ modkey, }, "b", function () awful.spawn("firefox") end, {description = "open firefox", group = "launcher"}), awful.key({ modkey, }, "e", function () awful.spawn("alacritty -e nnn") end, @@ -346,6 +346,9 @@ globalkeys = gears.table.join( {description = "dmenu screenshot prompt", group = "launcher"}), awful.key({ modkey, }, " ", function() awful.spawn.with_shell("~/.config/awesome/layout.sh") end, { description = "change keyboard layout", group = "launcher"}) + -- layout + -- awful.key({ modkey, altkey, }, "Tab", function() awful.spawn.with_shell("~/.config/awesome/layout.sh") end, + -- { description = "change to floating", group = "launcher"}) ) clientkeys = gears.table.join( @@ -441,7 +444,7 @@ for i = 1, #bindings do end, {description = "move focused client to tag #"..i, group = "tag"}), -- Toggle tag on focused client. - awful.key({ modkey, "Control", "Shift" }, bindings[i], + awful.key({ altkey, "Shift" }, bindings[i], function () if client.focus then local tag = client.focus.screen.tags[i]