Hello everyone,

I've been looking for this for some time, but haven't found anything
yet. Would it be possible for awful.prompt to be compatible with unicode
characters? This won't make much sense to you now, since they are rarely
used in the command line (unless some filename was to have them) but it
would be an excellent feature for further extension.

For instance:

awful.key({ modkey }, "o", function ()
   awful.prompt.run({ prompt = "uri: " }, promptbox[mouse.screen].widget,
   function (command)
      awful.util.spawn("dwb '"..command.."'", false)
   end)
end),

This simple function shows up a prompt and uses the dwb browser to load
the page when possible, or else to search for it on duckduckgo.com. In
the latter case, accents would be very useful (à, á, ó, etcetera), thus
why I believe awful.prompt could welcome this improvement.

What do you think?

Regards.
-- 
Daniel Martí - [email protected] - GPG 0x58BF72C3

Attachment: pgpbSyyp9kwBj.pgp
Description: PGP signature

Reply via email to