mirror of
https://github.com/lcpz/awesome-copycats.git
synced 2024-12-23 03:32:30 +00:00
Use modkey instead of control for volume control
use modkey instead to provide compability with programs which bind control + Up or ctrl + Down
This commit is contained in:
parent
a8c3f8efb1
commit
06133dfcfe
|
@ -739,15 +739,15 @@ globalkeys = awful.util.table.join(
|
|||
awful.key({ altkey, }, "w", function () yawn.show_weather(5) end),
|
||||
|
||||
-- Volume control
|
||||
awful.key({ "Control" }, "Up", function ()
|
||||
awful.key({ modkey }, "Up", function ()
|
||||
awful.util.spawn("amixer set Master playback 1%+", false )
|
||||
vicious.force({ volumewidget })
|
||||
end),
|
||||
awful.key({ "Control" }, "Down", function ()
|
||||
awful.key({ modkey }, "Down", function ()
|
||||
awful.util.spawn("amixer set Master playback 1%-", false )
|
||||
vicious.force({ volumewidget })
|
||||
end),
|
||||
awful.key({ "Control" }, "m", function ()
|
||||
awful.key({ modkey }, "m", function ()
|
||||
awful.util.spawn("amixer set Master playback mute", false )
|
||||
vicious.force({ volumewidget })
|
||||
end),
|
||||
|
@ -755,7 +755,7 @@ globalkeys = awful.util.table.join(
|
|||
awful.util.spawn("amixer set Master playback unmute", false )
|
||||
vicious.force({ volumewidget })
|
||||
end),
|
||||
awful.key({ altkey, "Control" }, "m",
|
||||
awful.key({ altkey, modkey }, "m",
|
||||
function ()
|
||||
awful.util.spawn("amixer set Master playback 100%", false )
|
||||
vicious.force({ volumewidget })
|
||||
|
|
Loading…
Reference in a new issue