wiki updated

This commit is contained in:
luke bonham 2013-09-19 21:07:17 +02:00 committed by copycat-killer
parent 2efaf86b86
commit 1707986615
2 changed files with 4 additions and 3 deletions

View File

@ -166,7 +166,7 @@ end
-- {{{ Dynamic tagging -- {{{ Dynamic tagging
-- --
-- Add a new tag -- 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, awful.prompt.run({prompt="New tag name: "}, mypromptbox[mouse.screen].widget,
function(text) function(text)
if text:len() > 0 then if text:len() > 0 then
@ -179,7 +179,8 @@ function util.prompt_add_tag(mypromptbox)
end end
-- Rename current tag -- Rename current tag
function util.prompt_rename_tag(mypromptbox) -- @author: minism
function util.rename_tag(mypromptbox)
local tag = awful.tag.selected(mouse.screen) local tag = awful.tag.selected(mouse.screen)
awful.prompt.run({prompt="Rename tag: "}, mypromptbox[mouse.screen].widget, awful.prompt.run({prompt="Rename tag: "}, mypromptbox[mouse.screen].widget,
function(text) function(text)

2
wiki

@ -1 +1 @@
Subproject commit 1368b031aa5d4b29a30c8f24b4bebde2f9d08ece Subproject commit f92b3ac0c9dec3a6c8d046ce3d97add99a3a1e5e