template: fix wrong direction when moving tags left/right

This commit is contained in:
Steven Huang 2017-03-20 04:29:17 -07:00 committed by Luke Bonham
parent c7ffacb512
commit 30f136d244
1 changed files with 7 additions and 8 deletions

View File

@ -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",