X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/53208723736b34e4b6c2c23fd77757fd46c436cf..97f0b4bb88f657b6a87a69e6b0e08e5af0b62a1a:/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)