I know that title bar of windows can be removed in {g,d}conf-editor
or by modifying the metacity theme. However, I want to have some rather complex rules for showing title bars or not (like hide the title bar if the window is tiled) and an extension is the only way I can think of to do this. MetaWindow.get_frame
doesn't seem to be accessible in js, is there a way to control the decoration of windows in a gnome-shell extension?
THX.
You need to use a tool like
devilspie
which will allow you to match windows and perform actions on them, such as modifying the hints on the window to remove the display of the title bar. You could also instead write a program or script using thelibwnck
library's API to match windows and apply such changes to them.