gnome-shell-auto-unmaximize
GNOME Shell extension and library that automatically unmaximizes/untiles other windows when one is maximized/tiled.
When the newly maximized window is a tile, the complimentary tile isn't unmaximized.
Optionally keeps unmaximized windows above maximized ones.
Building
This module's source uses ES6 classes and modules, to build it into an ES5 UMD
module run npm run build
.
Usage
This module can be used as a standalone extension or as a library.
To use as an extension, just clone this repo:
git clone https://github.com/rliang/gnome-shell-auto-unmaximize ~/.local/share/gnome-shell/extensions/auto-unmaximize@rliang.github.com
To use as a library, include the UMD module or use a module bundler like Webpack.
import AutoUnmaximizer from 'gnome-shell-auto-unmaximize';
class CustomUnmaximizer extends AutoUnmaximizer {
constructor() {
super({activate: false, above: false, raise: true});
}
}
const unmaximizer = new CustomUnmaximizer();
export function enable() {
unmaximizer.enable();
}
export function disable() {
unmaximizer.disable();
}
Documentation
For now, the JSDoc annotations in the source.