From e320c1e0e4452d9bf4903d64e0dd3e1b3ced95d2 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Mon, 26 Oct 2026 13:07:08 +0100 Subject: bookmarks: Firefox bookmarks as a full-width overlay A new standalone shell, shaped like hosts, on SUPER+b. bookmarks.py reads the bookmark tree and favicons of the profile a running Firefox holds (found through the pid in its lock symlink; the last-modified places.sqlite was tried first and picked the guest profile after a stray launch touched it). Firefox keeps both databases in exclusive lock mode, so they are copied with their -wal and the copy is read: an immutable=1 open of the original skipped the log and kept showing bookmarks deleted minutes before. The grid spans DP-1, a ListView of card rows so only visible rows exist, grouped by folder with each folder's own bookmarks before its subfolders. Six icon buttons (Ctrl+S cycles) sort by folder, newest, title, site, most visited or link state. The wheel scrolls three rows a notch through a MouseArea, since Flickable's own step crawled; only the selected card carries a Glow, through a Loader. Favicons are extracted by content hash; a page without one takes any icon Firefox holds for its host, which found 52 more of 504. bookmarks.py --links (Ctrl+R) checks every http(s) bookmark, HEAD then GET, 32 at a time, in about 22s, and caches the result. Dead means 404/410, an NXDOMAIN or a refused connection; 403, 429, timeouts, TLS and resolver failures are only "unsure", because a 32-thread burst produced EAI_AGAIN that a serial retry resolved. Bookmarks open with xdg-open: a plain `firefox ` does not reach an instance started with -P and opened the default profile beside it. Co-Authored-By: Claude Opus 5.5 --- AGENTS.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'AGENTS.md') diff --git a/AGENTS.md b/AGENTS.md index 6d0dc98..a50a617 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -25,6 +25,8 @@ modules. keybinds/ live keybind reminder, on SUPER+k hosts/ the vault's LAN map with ssh aliases, on ALT+SHIFT+Return; replaces the rofi SSH menu + bookmarks/ Firefox's bookmarks by folder, with favicons and + dead-link badges, on SUPER+b notifications/ balloons for the notification daemon's published files They are started from `~/.config/hypr/sections/autostart.lua` and keep running -- cgit v1.2.3