mirror of
https://github.com/lcpz/awesome-copycats.git
synced 2024-12-22 11:12:31 +00:00
template: fix wrong direction when moving tags left/right
This commit is contained in:
parent
c7ffacb512
commit
30f136d244
|
@ -304,8 +304,8 @@ globalkeys = awful.util.table.join(
|
||||||
-- Dynamic tagging
|
-- Dynamic tagging
|
||||||
awful.key({ modkey, "Shift" }, "n", function () lain.util.add_tag() end),
|
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" }, "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" }, "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 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),
|
awful.key({ modkey, "Shift" }, "d", function () lain.util.delete_tag() end),
|
||||||
|
|
||||||
-- Standard program
|
-- Standard program
|
||||||
|
@ -373,12 +373,11 @@ globalkeys = awful.util.table.join(
|
||||||
os.execute(string.format("amixer -q set %s 100%%", beautiful.volume.channel))
|
os.execute(string.format("amixer -q set %s 100%%", beautiful.volume.channel))
|
||||||
beautiful.volume.update()
|
beautiful.volume.update()
|
||||||
end),
|
end),
|
||||||
|
awful.key({ altkey, "Control" }, "0",
|
||||||
awful.key({ altkey, "Control" }, "0",
|
function ()
|
||||||
function ()
|
os.execute(string.format("amixer -q set %s 0%%", beautiful.volume.channel))
|
||||||
os.execute(string.format("amixer -q set %s 0%%", beautiful.volume.channel))
|
beautiful.volume.update()
|
||||||
beautiful.volume.update()
|
end),
|
||||||
end),
|
|
||||||
|
|
||||||
-- MPD control
|
-- MPD control
|
||||||
awful.key({ altkey, "Control" }, "Up",
|
awful.key({ altkey, "Control" }, "Up",
|
||||||
|
|
Loading…
Reference in a new issue