Skip to content

alecdotninja/no-titlebar-when-maximized

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

No Titlebar When Maximized

No Titlebar When Maximized is a GNOME Shell extension that hides the classic title bar of maximized X.Org windows. It is a rewrite of Pixel Saver with a focus on simplification. In particular, it does not modify the core shell UI.

It requires the xprop command to be installed in order to function.

Demo

Installation

  1. Install the xprop command.
  2. Open No Titlebar When Maximized on the GNOME Shell Extentions website.
  3. Toggle the slider to the on position.

Development

For information on creating and debugging a GNOME extension, see the official documentation.

Dependencies for this project are managed using npm:

  • To format the code, run npm run format.
  • To lint the code, run npm run lint.
  • To create a zip file suitable for submission to GNOME Extentions, run npm run build.

Workflow

Unfortunately, this extention does not work correctly in a nested session. Here is the workflow that I use for development:

  1. If the extension is already installed, uninstall it (npm run uninstall).
  2. Increment the version number in metadata.json.
  3. Build the extension with any local changes (npm run build) and install that local build (npm run install-local).
  4. Restart GNOME Shell. On Wayland, this requires logging out and logging back in.
  5. Perform any testing. On systemd-based distros, you can tail the logs with journalctl /usr/bin/gnome-shell -f.
  6. Repeat steps 3 through 5 until things are working as expected. I find it is helpful to format (npm run format) and lint (npm run lint) as I go so that my local build is ready for submission.
  7. Submit the local build to GNOME Extentions.
  8. After approval, uninstall the local build (npm run uninstall) and reinstall from GNOME Extentions.

Contributing

Bug reports and pull requests are welcome on GitHub.

License

This extension is available as open source under the terms of the GNU General Public License v2.0 or later .