Review of "Switcheroo" version 1

Details Page Preview

Switch to the first window with the title x A very small extension to allow you to switch windows via gdbus. This is particularly useful if you are using wayland as utilities such as wmctrl won't work. Since Gnome 41 removed org.gnome.Shell.Eval for security reasons, if you ever used a command such as: gdbus call --session --dest org.gnome.Shell --object-path /org/gnome/Shell --method org.gnome.Shell.Eval"var mw = global.get_window_actors().map(w=>w.meta_window).find(mw=>mw.get_title().includes('Firefox'));mw && mw.activate(0)" this can now be replaced with: gdbus call --session --dest org.gnome.Shell --object-path /org/switcheroo/Switcheroo --method org.switcheroo.Switcheroo.Set Firefox This can then be assigned to a shortcut key in Gnome settings or called programmatically.


No comments.

FAQ

Files

Note: Binary files aren't shown on the web site. To see all files, please download the extension zipfile.

All Versions

Version Status
3 Active
2 Active
1 Rejected

Previous Reviews on this Version

JustPerfection rejected
Please move line 36 and 37 to enable: https://gjs.guide/extensions/review-guidelines/review-guidelines.html#only-use-init-for-initialization Use initTranslations() and getSettings() from ExtensionUtils instead of creating your own custom functions: https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/js/misc/extensionUtils.js
JustPerfection posted a review
Sorry for the `extensionUtils` comment. sent it here by mistake.