X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/2efaf86b86d966e9af365168936c929ab7d9f3f3..4664741483e8c395d4e042a91552925ab63e5130:/util/init.lua?ds=inline diff --git a/util/init.lua b/util/init.lua index 73818b6..06db0d4 100644 --- a/util/init.lua +++ b/util/init.lua @@ -166,7 +166,7 @@ end -- {{{ Dynamic tagging -- -- Add a new tag -function util.prompt_add_tag(mypromptbox) +function util.add_tag(mypromptbox) awful.prompt.run({prompt="New tag name: "}, mypromptbox[mouse.screen].widget, function(text) if text:len() > 0 then @@ -179,7 +179,8 @@ function util.prompt_add_tag(mypromptbox) end -- Rename current tag -function util.prompt_rename_tag(mypromptbox) +-- @author: minism +function util.rename_tag(mypromptbox) local tag = awful.tag.selected(mouse.screen) awful.prompt.run({prompt="Rename tag: "}, mypromptbox[mouse.screen].widget, function(text)