Fix social media

This commit is contained in:
Thomas Forgione 2019-09-11 10:18:20 +02:00
parent c2eab54881
commit 7f7ff5e4af
No known key found for this signature in database
GPG Key ID: BFD17A2D71B3B5E7
1 changed files with 2 additions and 7 deletions

9
rc.lua
View File

@ -462,14 +462,9 @@ globalkeys = awful.util.table.join(
end, {description="start the web browser", group="shortcuts"}), end, {description="start the web browser", group="shortcuts"}),
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://framagenda.org/apps/calendar/", function() end)
naughty.notify({title = "Starting all social media"})
end, {description="Open all social media", group="shortcuts"}),
awful.key({modkey}, "e", function()
awful.spawn.easy_async(options.browser .. " https://hangouts.google.com https://messenger.com https://web.telegram.org", function() end) awful.spawn.easy_async(options.browser .. " https://hangouts.google.com https://messenger.com https://web.telegram.org", function() end)
naughty.notify({title = "Starting main social media"}) naughty.notify({title = "Starting social media"})
end, {description="Open main social media", group="shortcuts"}), end, {description="Open social media", group="shortcuts"}),
awful.key({modkey}, "l", function() awful.key({modkey}, "l", function()
awful.spawn.easy_async_with_shell('sleep 1 && xset dpms force off && slock', function() end) awful.spawn.easy_async_with_shell('sleep 1 && xset dpms force off && slock', function() end)