GitXplorerGitXplorer
L

thunderbird-shortcuts

public
1 stars
0 forks
0 issues

Commits

List of commits on branch main.
Verified
87fb7d6d9c01e08a8cd699f58eb82478344d024b

add user-agent workaround

LLaurent2916 committed 10 days ago
Verified
642f9b4950625c02b6cdafcc6dccc830e02349fe

add update-flake-lock github action

LLaurent2916 committed 13 days ago
Verified
7c83126a14d679eacc2fb8d762416f06ee32a37f

add screenshot preview

LLaurent2916 committed 13 days ago
Verified
a3cf7897d763c18e5223cb1f437e2013dea09457

add README.md

LLaurent2916 committed 13 days ago
Verified
e96f326120964117e69904cdb2cd272e482c7c5f

add nix flake

LLaurent2916 committed 13 days ago
Verified
6f4d9fa9b6a5c123e22c27fa7fb60c0be67202ef

add mit license

LLaurent2916 committed 13 days ago

README

The README file for this repository.

Thunderbird shortcuts

Small addons to add URL shortcuts to Thunderbird.

preview screenshot

Usage

Build with nix (flakes)

flake.nix already contains some examples, you can build them like so:

nix build .#youtube-music
nix build .#discord
...

Use with nix (flakes)

You can also use the shortcuts directly in your own flakes:

  1. Add this flake as an input to your flake:
# flake.nix
{
  inputs = {
    thunderbird-shortcuts = {
      url = "github:Laurent2916/thunderbird-shortcuts";
      inputs.nixpkgs.follows = "nixpkgs";  # optional
      inputs.systems.follows = "systems";  # optional
    };
  };
}
  1. You can then use the provided package and lib, for example with home-manager and thunderbird:
{system, pkgs, thunderbird-shortcuts, ...}: {
  programs.thunderbird = {
    enable = true;
    profiles = {
      my_profile = {
        extensions = [
          thunderbird-shortcuts.packages."${system}".youtube-music
          thunderbird-shortcuts.packages."${system}".discord
          (
            thunderbird-shortcuts.lib.genShortcut {
              inherit pkgs;
              name = "arXiv";
              url = "https://arxiv.org/";
              logo = pkgs.fetchurl {
                url = "https://upload.wikimedia.org/wikipedia/commons/b/bc/ArXiv_logo_2022.svg";
                sha256 = "sha256-Lc2IQPRoWcXim13yCxX5iqhyVOCeze2ywRoe1QKFBPw=";
              };
            };
          )
        ];
      };
    };
  };
}

FAQ

Ok but why?

I always have Thunderbird opened (for emails and RSS), I also always have "persistent" tabs opened in my browser (e.g. Slack, YT Music, etc.), so why not have them in the same place?

How to get notifications?

Even though Thunderbird uses the same engine as Firefox, some features are not enabled. You can auto-accept notifications by setting the following in about:config:

permissions.default.desktop-notification = 1

How can I use the webcam/microphone?

I haven't figured this one yet, if you have any idea, please let me know.

Some site are saying that my browser is not supported?

A workaround that generally works is to change the user-agent of Thunderbird to that of a real browser. For example, in about:config:

general.useragent.override = "Mozilla/5.0 (X11; Linux x86_64; rv:133.0) Gecko/20100101 Firefox/133.0"

Acknowledgements