Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
awesome を使用してユーザーから文字列を取得したいと思います。この文字列を使用して、新しいタグを動的に作成します。キーボードから入力を受け取り、入力されたテキストを返す呼び出し可能な関数が必要なだけです。
このようなものがあなたが始めるのに役立つはずです:
awful.prompt.run({ prompt = "Magic: " }, mypromptbox[mouse.screen].widget, function(text) naughty.notify({ text = "you entered: " .. text }) end))