Added shortcut for tvrs new option

This commit is contained in:
2019-04-08 09:55:26 +02:00
parent 4150758b62
commit b1bb372e99
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
return { return {
browser="firefox", browser="firefox",
terminal="terminator", terminal="alacritty",
email="thomas@forgione.fr", email="thomas@forgione.fr",
} }
+4
View File
@@ -500,6 +500,10 @@ globalkeys = awful.util.table.join(
awful.spawn.easy_async("tvrs disable --sound", 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}, "#90", function()
awful.spawn.easy_async("tvrs only-secondary --sound", function() end)
end, {description="Disable the primary screen, using only the second", group="screen control"}),
awful.key({modkey}, "z", function() awful.key({modkey}, "z", function()
awful.spawn.easy_async(options.browser .. " https://hangouts.google.com https://messenger.com https://web.telegram.org https://gitter.im https://vortex-n7.slack.com/ https://framagenda.org/apps/calendar/", function() end) awful.spawn.easy_async(options.browser .. " https://hangouts.google.com https://messenger.com https://web.telegram.org https://gitter.im https://vortex-n7.slack.com/ https://framagenda.org/apps/calendar/", function() end)
naughty.notify({title = "Starting social media"}) naughty.notify({title = "Starting social media"})