Change some keybinds for audio and window changing related stuff
This commit is contained in:
parent
c1c2fab5d3
commit
7b10f48b6a
1 changed files with 6 additions and 6 deletions
|
@ -287,10 +287,10 @@ globalkeys = my_table.join(
|
||||||
{description = "go back", group = "tag"}),
|
{description = "go back", group = "tag"}),
|
||||||
|
|
||||||
-- Non-empty tag browsing
|
-- Non-empty tag browsing
|
||||||
awful.key({ altkey }, "Left", function () lain.util.tag_view_nonempty(-1) end,
|
-- awful.key({ altkey }, "Left", function () lain.util.tag_view_nonempty(-1) end,
|
||||||
{description = "view previous nonempty", group = "tag"}),
|
-- {description = "view previous nonempty", group = "tag"}),
|
||||||
awful.key({ altkey }, "Right", function () lain.util.tag_view_nonempty(1) end,
|
-- awful.key({ altkey }, "Right", function () lain.util.tag_view_nonempty(1) end,
|
||||||
{description = "view previous nonempty", group = "tag"}),
|
-- {description = "view previous nonempty", group = "tag"}),
|
||||||
|
|
||||||
-- Default client focus
|
-- Default client focus
|
||||||
awful.key({ modkey, }, "j",
|
awful.key({ modkey, }, "j",
|
||||||
|
@ -452,13 +452,13 @@ globalkeys = my_table.join(
|
||||||
{description = "-10%", group = "hotkeys"}),
|
{description = "-10%", group = "hotkeys"}),
|
||||||
|
|
||||||
-- ALSA volume control
|
-- ALSA volume control
|
||||||
awful.key({ altkey }, "Up",
|
awful.key({ modkey, altkey }, "Up",
|
||||||
function ()
|
function ()
|
||||||
os.execute(string.format("amixer -q set %s 1%%+", beautiful.volume.channel))
|
os.execute(string.format("amixer -q set %s 1%%+", beautiful.volume.channel))
|
||||||
beautiful.volume.update()
|
beautiful.volume.update()
|
||||||
end,
|
end,
|
||||||
{description = "volume up", group = "hotkeys"}),
|
{description = "volume up", group = "hotkeys"}),
|
||||||
awful.key({ altkey }, "Down",
|
awful.key({ modkey, altkey }, "Down",
|
||||||
function ()
|
function ()
|
||||||
os.execute(string.format("amixer -q set %s 1%%-", beautiful.volume.channel))
|
os.execute(string.format("amixer -q set %s 1%%-", beautiful.volume.channel))
|
||||||
beautiful.volume.update()
|
beautiful.volume.update()
|
||||||
|
|
Loading…
Reference in a new issue