5 if [ -z "${1:-}" ]; then
6 echo "Usage: $0 title.endsWith('Page Title - Mozilla Firefox')"
12 dbus-send
--session --type=method_call
--dest=org.gnome.Shell
/org
/gnome
/Shell org.gnome.Shell.Eval string
:"
13 const windows = global.display.get_tab_list(0, null);
14 const matching = windows.filter((win) => {
15 const title = win.get_title();
19 if (matching.length > 0) {
20 const win = matching[0];
21 win.get_workspace().activate_with_focus(win, true);