/***************************************************************** This extension has been developped by vibou With the help of the gnome-shell community ******************************************************************/ https://extensions.gnome.org/extension/28/gtile/ To configure gTile open the file extension.js go down to SETTINGS comments and edit this part of code: /***************************************************************** SETTINGS *****************************************************************/ /*INIT SETTINGS HERE TO ADD OR REMOVE SETTINGS BUTTON*/ /*new GridSettingsButton(LABEL, NBCOL, NBROW) */ function initSettings() { //Here is where you add new grid size button gridSettings[SETTINGS_GRID_SIZE] = [ new GridSettingsButton('2x2',2,2), new GridSettingsButton('4x4',4,4), new GridSettingsButton('6x6',6,6) ]; //example for new GridSettingsButton: myCustomButton = new GridSettingsButton('Custom',8,8); //Going to be a 8x8 GridSettings gridSettings[SETTINGS_GRID_SIZE].push(myCustomButton); /*NEW SETTINGS*/ //You can change those settings to set whatever you want by default //Afterward you can change those parameters using the gTile interface gridSettings[SETTINGS_AUTO_CLOSE] = true; gridSettings[SETTINGS_ANIMATION] = true; } TO ADD FOR INSTANCE A NEW SETTINGS BUTTON (8x8) DO THIS: /***************************************************************** SETTINGS *****************************************************************/ /*INIT SETTINGS HERE TO ADD OR REMOVE SETTINGS BUTTON*/ /*new GridSettingsButton(LABEL, NBCOL, NBROW) */ function initSettings() { gridSettings[SETTINGS_GRID_SIZE] = [ new GridSettingsButton('2x2',2,2), new GridSettingsButton('4x4',4,4), new GridSettingsButton('6x6',6,6), new GridSettingsButton('8x8',8,8) ]; }
greenyDeath/vibou.gTile2
gnome shell extension that tiles windows as you like. With gSettings Support
JavaScript