notify when starting terminal

This commit is contained in:
Thomas Forgione 2017-10-03 13:10:56 +02:00
parent f7dd3bbfd0
commit f699becd27
No known key found for this signature in database
GPG Key ID: C75CD416BD1FFCE1
1 changed files with 5 additions and 2 deletions

View File

@ -320,7 +320,10 @@ globalkeys = awful.util.table.join(
end,
{description = "go back", group = "client"}),
-- Standard program
awful.key({ modkey, }, "Return", function () awful.spawn(terminal) end,
awful.key({ modkey, }, "Return", function ()
awful.spawn(terminal)
naughty.notify({title = "Starting " .. options.terminal})
end,
{description = "open a terminal", group = "launcher"}),
awful.key({ modkey, "Control" }, "r", awesome.restart,
{description = "reload awesome", group = "awesome"}),
@ -423,7 +426,7 @@ globalkeys = awful.util.table.join(
awful.key({modkey}, "a", function ()
os.execute(options.browser .. '&')
naughty.notify({title = options.browser .. " starting..."})
naughty.notify({title = "Starting " .. options.browser})
end, {description="start the web browser", group="custom"}),
awful.key({modkey}, "l", function()