Just spent a good twoWthree hours trying to configure awesome 3.0 to match my awesome 2.x setup. Docs are effectively nonexistant. So far, I'm stuck on several fronts:

  • I want to be able to left click on a titlebar and drag to resize. Without pressing the modkey. But the definition for that is set deep within awful.lua, which is not a configuration file, and so I cannot see a good way to configure it.
  • Why can't I resize an xterm to 80 characters wide? It jumps between 79 and 81.
  • Why is it that despite using the same font as with 2.0, enough additional vertical space is used by the title bar and status bar, that I get one less line in all my xterms? It's using only a few pixels more than before, but that's too much..
  • How do I configure a textbox so that, if I click on it, a command is run? Update: Figured this one out, for example: mympd:mouse_add(mouse({ }, 1, function () os.execute("awesome-mpd show &") end)) (Note that if the command isn't run in the background, and opens a window, it will deadlock awesome.)
  • Can't figure out how to use awesome-client to add a value to a graph widget. (I'm sure this is simple, but I haven't stumbled over an example. I'd use wicked, but it's not packaged.) Update: Figured it out via the source: mpgraph:plot_data_add("foo", "10")
  • Can't figure out how to make a textbox widget have a fixed width and truncate the text in it. Since it's displaying the currently plaging song, using the default dynamic width would make everything on my status bar jump around. Update: mytextbox.width=100
  • There's no emptybox widget aymmore, so how do I add horizontal padding between widgets? Best I've managed so far is an empty textbox with a defined width.

Anyone else hate lua, or at least build-your-own-WM-in-lua config files for window managers that used to have simple config files?

discussion