Skip to content

Commit d1ebaaa

Browse files
committed
feat: show favicons as bookmarks icons
We replaced the default bookmarks plugin icon with Google's favicon API to fetch and display favicons for each bookmark from their corresponding websites.
1 parent ed53736 commit d1ebaaa

File tree

1 file changed

+2
-2
lines changed
  • Plugins/Flow.Launcher.Plugin.BrowserBookmark

1 file changed

+2
-2
lines changed

Plugins/Flow.Launcher.Plugin.BrowserBookmark/Main.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public List<Result> Query(Query query)
6868
{
6969
Title = c.Name,
7070
SubTitle = c.Url,
71-
IcoPath = @"Images\bookmark.png",
71+
IcoPath = $"https://www.google.com/s2/favicons?domain={c.Url}&sz=64",
7272
Score = BookmarkLoader.MatchProgram(c, param).Score,
7373
Action = _ =>
7474
{
@@ -90,7 +90,7 @@ public List<Result> Query(Query query)
9090
{
9191
Title = c.Name,
9292
SubTitle = c.Url,
93-
IcoPath = @"Images\bookmark.png",
93+
IcoPath = $"https://www.google.com/s2/favicons?domain={c.Url}&sz=64",
9494
Score = 5,
9595
Action = _ =>
9696
{

0 commit comments

Comments
 (0)