Reduce volume control step for sidebar volume bar

This commit is contained in:
elenapan 2020-04-07 20:18:36 +03:00
parent d1e72d1437
commit 111c12433e
2 changed files with 4 additions and 4 deletions

View file

@ -282,10 +282,10 @@ volume:buttons(gears.table.join(
awful.button({ }, 3, apps.volume),
-- Scroll - Increase / Decrease volume
awful.button({ }, 4, function ()
helpers.volume_control(5)
helpers.volume_control(2)
end),
awful.button({ }, 5, function ()
helpers.volume_control(-5)
helpers.volume_control(-2)
end)
))

View file

@ -315,10 +315,10 @@ volume:buttons(gears.table.join(
awful.button({ }, 3, apps.volume),
-- Scroll - Increase / Decrease volume
awful.button({ }, 4, function ()
helpers.volume_control(5)
helpers.volume_control(2)
end),
awful.button({ }, 5, function ()
helpers.volume_control(-5)
helpers.volume_control(-2)
end)
))