diff --git a/rc.lua b/rc.lua index 4430f42..4494621 100644 --- a/rc.lua +++ b/rc.lua @@ -464,6 +464,16 @@ globalkeys = awful.util.table.join( naughty.notify({title = "Starting " .. options.browser}) end, {description="start the web browser", group="shortcuts"}), + 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 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) + naughty.notify({title = "Starting main social media"}) + end, {description="Open main social media", group="shortcuts"}), + awful.key({modkey}, "l", function() awful.spawn.easy_async_with_shell('sleep 1 && xset dpms force off && slock', function() end) end, { description="Locks the screen", group="screen control"}), @@ -504,11 +514,6 @@ globalkeys = awful.util.table.join( 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"}) - end, {description="Open social media", group="shortcuts"}), - awful.key({modkey}, "d", function() if naughty_suspended then naughty.resume()