Added shortcut for tvrs new option

This commit is contained in:
Thomas Forgione 2019-04-08 09:55:26 +02:00
parent 4150758b62
commit b1bb372e99
No known key found for this signature in database
GPG Key ID: 203DAEA747F48F41
2 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,5 @@
return {
browser="firefox",
terminal="terminator",
terminal="alacritty",
email="thomas@forgione.fr",
}

4
rc.lua
View File

@ -500,6 +500,10 @@ globalkeys = awful.util.table.join(
awful.spawn.easy_async("tvrs disable --sound", function() end)
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.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"})