From 30f136d244cdc95adf6c5fc85dd8a7cab91b2e6a Mon Sep 17 00:00:00 2001 From: Steven Huang Date: Mon, 20 Mar 2017 04:29:17 -0700 Subject: [PATCH] template: fix wrong direction when moving tags left/right --- rc.lua.template | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/rc.lua.template b/rc.lua.template index 4728f35..68c0eee 100644 --- a/rc.lua.template +++ b/rc.lua.template @@ -304,8 +304,8 @@ globalkeys = awful.util.table.join( -- Dynamic tagging awful.key({ modkey, "Shift" }, "n", function () lain.util.add_tag() end), awful.key({ modkey, "Shift" }, "r", function () lain.util.rename_tag() end), - awful.key({ modkey, "Shift" }, "Left", function () lain.util.move_tag(1) end), -- move to next tag - awful.key({ modkey, "Shift" }, "Right", function () lain.util.move_tag(-1) end), -- move to previous tag + awful.key({ modkey, "Shift" }, "Left", function () lain.util.move_tag(-1) end), -- move to previous tag + awful.key({ modkey, "Shift" }, "Right", function () lain.util.move_tag(1) end), -- move to next tag awful.key({ modkey, "Shift" }, "d", function () lain.util.delete_tag() end), -- Standard program @@ -373,12 +373,11 @@ globalkeys = awful.util.table.join( os.execute(string.format("amixer -q set %s 100%%", beautiful.volume.channel)) beautiful.volume.update() end), - - awful.key({ altkey, "Control" }, "0", - function () - os.execute(string.format("amixer -q set %s 0%%", beautiful.volume.channel)) - beautiful.volume.update() - end), + awful.key({ altkey, "Control" }, "0", + function () + os.execute(string.format("amixer -q set %s 0%%", beautiful.volume.channel)) + beautiful.volume.update() + end), -- MPD control awful.key({ altkey, "Control" }, "Up",