We don't need no sound anymore

This commit is contained in:
Thomas Forgione 2021-11-30 11:26:16 +01:00
parent b0530350e8
commit 9ed56528d0
1 changed files with 14 additions and 14 deletions

28
rc.lua
View File

@ -500,59 +500,59 @@ globalkeys = awful.util.table.join(
end, {description="switch the caps lock", group="screen control"}),
awful.key({modkey}, "#83", function()
awful.spawn.easy_async("tvrs enable left --sound", function() end)
awful.spawn.easy_async("tvrs enable left", function() end)
end, {description="Sets the second screen to the left of the main screen", group="screen control"}),
awful.key({modkey, "Ctrl"}, "Left", function()
awful.spawn.easy_async("tvrs enable left --sound", function() end)
awful.spawn.easy_async("tvrs enable left", function() end)
end, {description="Sets the second screen to the left of the main screen", group="screen control"}),
awful.key({modkey}, "#84", function()
awful.spawn.easy_async("tvrs duplicate --sound", function() end)
awful.spawn.easy_async("tvrs duplicate", function() end)
end, {description="Sets the second screen to copy the main screen", group="screen control"}),
awful.key({modkey, "Ctrl"}, "Return", function()
awful.spawn.easy_async("tvrs duplicate --sound", function() end)
awful.spawn.easy_async("tvrs duplicate", function() end)
end, {description="Sets the second screen to copy the main screen", group="screen control"}),
awful.key({modkey}, "#85", function()
awful.spawn.easy_async("tvrs enable right --sound", function() end)
awful.spawn.easy_async("tvrs enable right", function() end)
end, {description="Sets the second screen to the right of the main screen", group="screen control"}),
awful.key({modkey, "Ctrl"}, "Right", function()
awful.spawn.easy_async("tvrs enable right --sound", function() end)
awful.spawn.easy_async("tvrs enable right", function() end)
end, {description="Sets the second screen to the right of the main screen", group="screen control"}),
awful.key({modkey}, "#80", function()
awful.spawn.easy_async("tvrs enable above --sound", function() end)
awful.spawn.easy_async("tvrs enable above", function() end)
end, {description="Sets the second screen above the main screen", group="screen control"}),
awful.key({modkey, "Ctrl"}, "Up", function()
awful.spawn.easy_async("tvrs enable above --sound", function() end)
awful.spawn.easy_async("tvrs enable above", function() end)
end, {description="Sets the second screen above the main screen", group="screen control"}),
awful.key({modkey}, "#88", function()
awful.spawn.easy_async("tvrs enable below --sound", function() end)
awful.spawn.easy_async("tvrs enable below", function() end)
end, {description="Sets the second screen below the main screen", group="screen control"}),
awful.key({modkey, "Ctrl"}, "Down", function()
awful.spawn.easy_async("tvrs enable below --sound", function() end)
awful.spawn.easy_async("tvrs enable below", function() end)
end, {description="Sets the second screen below the main screen", group="screen control"}),
awful.key({modkey}, "#90", function()
awful.spawn.easy_async("tvrs disable --sound", function() end)
awful.spawn.easy_async("tvrs disable", function() end)
end, {description="Disable the second screen", group="screen control"}),
awful.key({modkey, "Ctrl"}, "#22", function()
awful.spawn.easy_async("tvrs disable --sound", function() end)
awful.spawn.easy_async("tvrs disable", function() end)
end, {description="Disable the second screen", group="screen control"}),
awful.key({modkey, "Shift"}, "#90", function()
awful.spawn.easy_async("tvrs only-secondary --sound", function() end)
awful.spawn.easy_async("tvrs only-secondary", function() end)
end, {description="Disable the primary screen, using only the second", group="screen control"}),
awful.key({modkey, "Ctrl", "Shift"}, "#22", function()
awful.spawn.easy_async("tvrs only-secondary --sound", function() end)
awful.spawn.easy_async("tvrs only-secondary", function() end)
end, {description="Disable the primary screen, using only the second", group="screen control"}),
awful.key({modkey}, "d", function()