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

Configure Feed

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

Add Chrome Extension to Advanced Settings Pane

Aly Raffauf (Jun 10, 2026, 10:22 AM EDT) ac21f456 fb959ae3

+19 -7
+1
src/app.go
··· 18 18 WebsiteURL = "https://switchyard.aly.codes/" 19 19 IssueURL = "https://github.com/alyraffauf/switchyard/issues" 20 20 DonateURL = "https://ko-fi.com/alyraffauf" 21 + ChromeExtensionURL = "https://chromewebstore.google.com/detail/switchyard/ncehhpikkabfdcceimdhjjjodogflokc" 21 22 FirefoxExtensionURL = "https://addons.mozilla.org/firefox/addon/switchyard/" 22 23 ) 23 24
+18 -7
src/settings_advanced.go
··· 109 109 extensionGroup := adw.NewPreferencesGroup() 110 110 extensionGroup.SetTitle("Browser Extension") 111 111 112 - extensionRow := adw.NewActionRow() 113 - extensionRow.SetTitle("Firefox Extension") 114 - extensionRow.SetSubtitle("Open links in Switchyard directly from Firefox") 115 - extensionRow.SetActivatable(true) 116 - extensionRow.AddSuffix(gtk.NewImageFromIconName("adw-external-link-symbolic")) 117 - extensionRow.ConnectActivated(func() { 112 + firefoxRow := adw.NewActionRow() 113 + firefoxRow.SetTitle("Firefox Extension") 114 + firefoxRow.SetSubtitle("Open links in Switchyard directly from Firefox") 115 + firefoxRow.SetActivatable(true) 116 + firefoxRow.AddSuffix(gtk.NewImageFromIconName("adw-external-link-symbolic")) 117 + firefoxRow.ConnectActivated(func() { 118 118 launcher := gtk.NewURILauncher(FirefoxExtensionURL) 119 119 launcher.Launch(context.Background(), &win.Window, nil) 120 120 }) 121 - extensionGroup.Add(extensionRow) 121 + extensionGroup.Add(firefoxRow) 122 + 123 + chromeRow := adw.NewActionRow() 124 + chromeRow.SetTitle("Chrome Extension") 125 + chromeRow.SetSubtitle("Open links in Switchyard directly from Chrome") 126 + chromeRow.SetActivatable(true) 127 + chromeRow.AddSuffix(gtk.NewImageFromIconName("adw-external-link-symbolic")) 128 + chromeRow.ConnectActivated(func() { 129 + launcher := gtk.NewURILauncher(ChromeExtensionURL) 130 + launcher.Launch(context.Background(), &win.Window, nil) 131 + }) 132 + extensionGroup.Add(chromeRow) 122 133 123 134 content.Append(extensionGroup) 124 135