This commit is contained in:
Thomas Forgione 2022-06-14 12:19:55 +02:00
parent e74b9f3249
commit e977d16e75
1 changed files with 5 additions and 0 deletions

5
rc.lua
View File

@ -486,6 +486,11 @@ globalkeys = awful.util.table.join(
naughty.notify({title = "Starting " .. options.browser}) naughty.notify({title = "Starting " .. options.browser})
end, {description="start the web browser", group="shortcuts"}), end, {description="start the web browser", group="shortcuts"}),
awful.key({modkey}, "z", function()
awful.spawn.easy_async(options.browser .. " https://web.telegram.org https://polymnygroupe.slack.com https://discord.com/app https://nuage.polymny.studio/nextcloud/index.php/apps/calendar/", function() end)
naughty.notify({title = "Starting social media"})
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)
end, { description="Locks the screen", group="screen control"}), end, { description="Locks the screen", group="screen control"}),