Skip to content

Instantly share code, notes, and snippets.

@blueyed
Last active November 6, 2019 13:46
Show Gist options
  • Save blueyed/9404320 to your computer and use it in GitHub Desktop.
Save blueyed/9404320 to your computer and use it in GitHub Desktop.
awesomeWM: rename the current tag
-- Rename tag
awful.key({ modkey, "Shift", }, "F2", function ()
awful.prompt.run({ prompt = "Rename tab: ", text = awful.tag.selected().name, },
mypromptbox[mouse.screen].widget,
function (s)
awful.tag.selected().name = s
end)
end),
@senyai
Copy link

senyai commented Nov 6, 2019

awful.screen.focused().mypromptbox.widget instead of mypromptbox[mouse.screen].widget worked for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment