Last active
November 6, 2019 13:46
-
-
Save blueyed/9404320 to your computer and use it in GitHub Desktop.
awesomeWM: rename the current tag
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- 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), |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
awful.screen.focused().mypromptbox.widget
instead ofmypromptbox[mouse.screen].widget
worked for me