From f699becd275382edb6170bc82bff39fb8cf16255 Mon Sep 17 00:00:00 2001 From: Thomas Forgione Date: Tue, 3 Oct 2017 13:10:56 +0200 Subject: [PATCH] notify when starting terminal --- awesome/rc.lua | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/awesome/rc.lua b/awesome/rc.lua index 5293432..b7f6949 100644 --- a/awesome/rc.lua +++ b/awesome/rc.lua @@ -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()