Commit graph

21 commits

Author SHA1 Message Date
DannyDannyDanny
1fdce52239 Add make-ubuntu-usb.sh: write Ubuntu desktop ISO to USB (macOS)
Made-with: Cursor
2026-02-28 16:27:48 +01:00
DannyDannyDanny
d3e1fbb85d feat: add git branch clean up function 2026-02-25 12:57:20 +01:00
DannyDannyDanny
8ad0f5e1af Fix exception handling order and add WebSocket fallback attempt
- Fix exception handling to catch URLError before generic Exception
- Add WebSocket fallback attempt when HTTP endpoint fails
- Note: WebSocket fallback may not work as Firefox uses different protocol than CDP
- Known issue: HTTP /json/list endpoint closes connection even when DevTools shows connected
2026-02-01 15:06:50 +01:00
DannyDannyDanny
90565ae16a Add WebSocket fallback for tab listing when HTTP endpoint fails
- Add get_tabs_via_websocket() to query tabs via WebSocket when HTTP /json/list fails
- Update get_tabs_via_rdp() to try WebSocket fallback
- Update get_tab_html_async() to use WebSocket fallback for getting tab WebSocket URLs
- Known issue: HTTP endpoint may not respond even when DevTools shows connected
2026-02-01 15:05:54 +01:00
DannyDannyDanny
a228866b0c Fix asyncio deprecation warning and improve error messages
- Replace asyncio.get_event_loop() with asyncio.get_running_loop()
- Add better error messages when HTTP endpoint fails
- Show available tab IDs when tab not found
- Handle HTTP endpoint connection failures gracefully
2026-02-01 15:04:41 +01:00
DannyDannyDanny
b2b0d76e02 Update faf README with content command and troubleshooting
- Document new 'content' command for fetching HTML from tabs
- Add troubleshooting section for HTTP endpoint issues
- Add instructions for running from Nix development shell
- Note requirement for 'nix develop -c $(which fish)'
2026-02-01 15:03:47 +01:00
DannyDannyDanny
d9eccc8cdb Add websockets Python package to faf development environment
- Add websockets dependency to Python environment in flake.nix
- Required for WebSocket connections to Firefox tabs
2026-02-01 15:03:43 +01:00
DannyDannyDanny
2253bdde5d Add WebSocket support and content command to faf script
- Add WebSocket connection functions for Firefox Remote Debugging Protocol
- Implement CDP Runtime.evaluate protocol communication
- Add 'content' command to fetch HTML from tabs via WebSocket
- Add get_tab_html() function to orchestrate HTML retrieval
- Increase connection timeout for RDP requests
2026-02-01 15:03:42 +01:00
DannyDannyDanny
9aedc697d9 Rename firefox-tabs to f-around-firefox (faf) and add to PATH 2026-01-30 18:26:15 +01:00
DannyDannyDanny
91d35d1324 Shorten README to usage only 2026-01-30 18:24:28 +01:00
DannyDannyDanny
6dd73a4326 Add README to firefox-tabs script 2026-01-30 18:22:21 +01:00
DannyDannyDanny
ef4aa54100 Remove old firefox-tabs.py from scripts root 2026-01-30 18:19:43 +01:00
DannyDannyDanny
426bcaefe8 Reorganize firefox-tabs script into subfolder with flake.nix and plan.md 2026-01-30 18:17:57 +01:00
DannyDannyDanny
0e1e54efc3 Add firefox-tabs.py script 2026-01-30 18:17:49 +01:00
DannyDannyDanny
f72b7e6ddb Clean up trailing whitespaces
- Remove trailing whitespaces from all .nix files
- Remove trailing whitespaces from shell scripts
- Remove trailing whitespaces from README files
- Improves code consistency and follows best practices
2025-09-13 17:39:26 +02:00
DannyDannyDanny
6355fa64d3 feat: add theme status and toggle commands
- Add 'theme status' command to show current theme status across platforms
- Add 'theme toggle' command to switch between light and dark themes
- Improve toggle logic to read current theme from platform-specific sources
- Update documentation to include new commands
- Maintain backward compatibility with existing theme light/dark commands
2025-09-12 13:51:56 +02:00
DannyDannyDanny
072f197660 feat: unify theme switching with cross-platform script
- Create unified theme.sh script that works on both WSL and macOS
- Update fish alias to use new unified script instead of WSL-specific one
- Maintain backward compatibility with existing theme command
- Update documentation to reflect unified approach
- Script automatically detects platform and calls appropriate functionality
2025-09-12 13:41:49 +02:00
DannyDannyDanny
c8a7e3fb34 feat: introduce script for manual theme switching in Alacritty and update README for clarity 2025-09-12 13:33:33 +02:00
DannyDannyDanny
d7302fd9a6 refactor: simplify Alacritty theme synchronization with Nix configuration and remove obsolete scripts 2025-09-12 13:13:31 +02:00
DannyDannyDanny
bd9cd434d4 feat: add Alacritty light and dark themes + synchronization scripts 2025-09-12 12:57:36 +02:00
DannyDannyDanny
283a9f0c15 vimwiki: dth @ DK023900WSL 2022-10-13 15:57:13 +02:00