Added sound option to tvrs

This commit is contained in:
Thomas Forgione 2018-12-10 15:05:27 +01:00
parent faff8f44d9
commit d3ee45e4c9
No known key found for this signature in database
GPG Key ID: 203DAEA747F48F41
1 changed files with 6 additions and 6 deletions

12
rc.lua
View File

@ -473,27 +473,27 @@ globalkeys = awful.util.table.join(
end, {description="switch the caps lock", group="screen control"}), end, {description="switch the caps lock", group="screen control"}),
awful.key({modkey}, "#83", function() awful.key({modkey}, "#83", function()
awful.spawn.easy_async("tvrs enable left", function() end) awful.spawn.easy_async("tvrs enable left --sound", function() end)
end, {description="Sets the second screen to the left of the main screen", group="screen control"}), end, {description="Sets the second screen to the left of the main screen", group="screen control"}),
awful.key({modkey}, "#84", function() awful.key({modkey}, "#84", function()
awful.spawn.easy_async("tvrs duplicate", function() end) awful.spawn.easy_async("tvrs duplicate --sound", function() end)
end, {description="Sets the second screen to copy the main screen", group="screen control"}), end, {description="Sets the second screen to copy the main screen", group="screen control"}),
awful.key({modkey}, "#85", function() awful.key({modkey}, "#85", function()
awful.spawn.easy_async("tvrs enable right", function() end) awful.spawn.easy_async("tvrs enable right --sound", function() end)
end, {description="Sets the second screen to the right of the main screen", group="screen control"}), end, {description="Sets the second screen to the right of the main screen", group="screen control"}),
awful.key({modkey}, "#80", function() awful.key({modkey}, "#80", function()
awful.spawn.easy_async("tvrs enable above", function() end) awful.spawn.easy_async("tvrs enable above --sound", function() end)
end, {description="Sets the second screen above the main screen", group="screen control"}), end, {description="Sets the second screen above the main screen", group="screen control"}),
awful.key({modkey}, "#88", function() awful.key({modkey}, "#88", function()
awful.spawn.easy_async("tvrs enable below", function() end) awful.spawn.easy_async("tvrs enable below --sound", function() end)
end, {description="Sets the second screen below the main screen", group="screen control"}), end, {description="Sets the second screen below the main screen", group="screen control"}),
awful.key({modkey}, "#90", function() awful.key({modkey}, "#90", function()
awful.spawn.easy_async("tvrs disable", function() end) awful.spawn.easy_async("tvrs disable --sound", function() end)
end, {description="Disable the second screen", group="screen control"}), end, {description="Disable the second screen", group="screen control"}),
awful.key({modkey}, "z", function() awful.key({modkey}, "z", function()