Rules-based browser launcher for TUI + GNOME. switchyard.aly.codes
tui gome bowser go
0

Configure Feed

Select the types of activity you want to include in your feed.

gtk: handle rules before falling back to launcher

Aly Raffauf (Jul 5, 2026, 9:17 PM EDT) d9d2c905 b82b5116

+5 -4
+5 -4
gtk/run.go
··· 127 127 return 128 128 } 129 129 } 130 - // No preferred browser found - show launcher 131 - showLauncherWindow(app, sanitized, browsers, cfg) 132 - return 130 + // No preferred browser found — fall through to standard routing. 133 131 } 134 132 135 - // No browser specified - use standard routing 133 + // No browser specified or none matched — use standard routing. 136 134 handleURL(app, browsers, cfg, sanitized) 137 135 } 138 136 ··· 149 147 launchBrowser(browser, urlStr) 150 148 return 151 149 } 150 + // Rule matched but browser not found — show launcher. 151 + showLauncherWindow(app, urlStr, browsers, cfg) 152 + return 152 153 } 153 154 154 155 // No rule matched: fall back to the favorite browser, else prompt.