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"}),
|
||||
|
||||
-- Non-empty tag browsing
|
||||
awful.key({ altkey }, "Left", function () lain.util.tag_view_nonempty(-1) end,
|
||||
{description = "view previous nonempty", group = "tag"}),
|
||||
awful.key({ altkey }, "Right", function () lain.util.tag_view_nonempty(1) end,
|
||||
{description = "view previous nonempty", group = "tag"}),
|
||||
-- awful.key({ altkey }, "Left", function () lain.util.tag_view_nonempty(-1) end,
|
||||
-- {description = "view previous nonempty", group = "tag"}),
|
||||
-- awful.key({ altkey }, "Right", function () lain.util.tag_view_nonempty(1) end,
|
||||
-- {description = "view previous nonempty", group = "tag"}),
|
||||
|
||||
-- Default client focus
|
||||
awful.key({ modkey, }, "j",
|
||||
|
@ -452,13 +452,13 @@ globalkeys = my_table.join(
|
|||
{description = "-10%", group = "hotkeys"}),
|
||||
|
||||
-- ALSA volume control
|
||||
awful.key({ altkey }, "Up",
|
||||
awful.key({ modkey, altkey }, "Up",
|
||||
function ()
|
||||
os.execute(string.format("amixer -q set %s 1%%+", beautiful.volume.channel))
|
||||
beautiful.volume.update()
|
||||
end,
|
||||
{description = "volume up", group = "hotkeys"}),
|
||||
awful.key({ altkey }, "Down",
|
||||
awful.key({ modkey, altkey }, "Down",
|
||||
function ()
|
||||
os.execute(string.format("amixer -q set %s 1%%-", beautiful.volume.channel))
|
||||
beautiful.volume.update()
|
||||
|
|
Loading…
Reference in a new issue