This post shows how you can create a global titlebar. As I changed
most of my client windows to not have a titlebar (except
lost the information that the clients display in their title bar.
On the other side, I didn’t like the taskbar. I know what tasks I have
started and currently I don’t minimize clients (I even removed the key
bindings for minimizing).
And so it was a natural though to use the space the taskbar occupied for a
rc.lua from the Awesome window manager uses a lot of
globalkeys = awful.util.table.join(...) code.
I disliked this because …
- they used functions to join the bindings. And in Lua, the parameters
of a function cannot end with a trailing comma. Often when I moved
an entry around, I ended up with a pointless syntax error because of
a trailing comma — or a missing comma between arguments.
- adding elements by joining seems somewhat complex
- adding logic, e.g. only adding a keybinding under specific
circumstances is suddenly more difficult
So let’s change this …
In this post I show a nice method to define tags and associated
layouts, where the tag names change dynamically when the layout
rc.lua from Awesome 4.0 turns title bars on. Here I show
how you can turn them off, and also how I enable them only for