├── .gitignore ├── alt-tab-workspace@kwalo.net ├── stylesheet.css ├── metadata.json └── extension.js └── README /.gitignore: -------------------------------------------------------------------------------- 1 | alt-tab-workspace@kwalo.net.zip 2 | -------------------------------------------------------------------------------- /alt-tab-workspace@kwalo.net/stylesheet.css: -------------------------------------------------------------------------------- 1 | /* This extensions requires no special styling */ 2 | -------------------------------------------------------------------------------- /README: -------------------------------------------------------------------------------- 1 | GNOME Shell extension, which replaces Alt-Tab to cycle through apps on current workspace only. 2 | -------------------------------------------------------------------------------- /alt-tab-workspace@kwalo.net/metadata.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "A replacement for Alt-Tab, cycles through apps on current workspace only.", 3 | "name": "Alt Tab Workspace", 4 | "original-authors": "krzysztof.walo@gmail.com", 5 | "shell-version": [ 6 | "3.10", 7 | "3.12", 8 | "3.14", 9 | "3.14.3", 10 | "3.16", 11 | "3.18", 12 | "3.20.4", 13 | "3.22.3", 14 | "3.24", 15 | "3.28", 16 | "3.34" 17 | ], 18 | "url": "https://github.com/kwalo/gnome-shell-alt-tab-workspace", 19 | "uuid": "alt-tab-workspace@kwalo.net", 20 | "version": 11 21 | } 22 | -------------------------------------------------------------------------------- /alt-tab-workspace@kwalo.net/extension.js: -------------------------------------------------------------------------------- 1 | const Lang = imports.lang; 2 | const Gio = imports.gi.Gio; 3 | 4 | const AltTabWorkspace = new Lang.Class({ 5 | Name: 'AltTabWorkspace', 6 | 7 | _init : function () { 8 | this._settings = new Gio.Settings({ schema: 'org.gnome.shell.app-switcher'}); 9 | }, 10 | 11 | enable : function () { 12 | this._settings.set_boolean('current-workspace-only', true); 13 | }, 14 | 15 | disable : function () { 16 | this._settings.set_boolean('current-workspace-only', false); 17 | }, 18 | }); 19 | 20 | function init(metadata) { 21 | // enable and disable methods of this object will be called to 22 | // activate/deactivate extension 23 | return new AltTabWorkspace(); 24 | } 25 | --------------------------------------------------------------------------------