Thursday, January 8, 2009

Adding a Titlebar to a Specific Window in Awesome

The default configuration file .~/.awesomerc for awesome 2.3 contains a rule for the Gimp, to force its windows to be floating:

rules {
rule { name = "Gimp" float = true }

This is fine, but the lack of title bars annoys me. And yet, I don't want to force title bars on all windows - it's a waste of screen real estate, especially on a 1024x768 laptop display.

The awesomerc man page is really worth reading. I found out that a titlebar section can be specified inside a rule, e.g.

name = "Gimp"
float = true
position = top
align = auto
text_align = left

This is both trivial and awesome...

No comments:

Post a Comment