Force alt + tab to switch only in the current workspace.
Note: Binary files aren't shown on the web site. To see all files, please download the extension zipfile.
Stay away from spawn command if it is possible. You can do this instead: const Gio = imports.gi.Gio; let settings = new Gio.Settings({ schema: 'org.gnome.shell.app-switcher' }); settings.set_boolean('current-workspace-only', true); or you can get the value with: let value = settings.get_boolean('current-workspace-only'); And please join us on GNOME Matrix channel if you have any questions related to this issue: https://matrix.to/#/#extensions:gnome.org