fix: betterbird profiles

This commit is contained in:
Jet 2026-06-01 16:58:43 -07:00
parent 9db34f53de
commit 4b5a0a19de
No known key found for this signature in database

View file

@ -295,11 +295,12 @@ let
profile_root="''${HOME:-${config.home.homeDirectory}}/.thunderbird" profile_root="''${HOME:-${config.home.homeDirectory}}/.thunderbird"
profile="$profile_root/betterbird-current" profile="$profile_root/betterbird-current"
if [ -d "$profile" ]; then if [ ! -d "$profile" ]; then
exec ${betterbird}/bin/betterbird --profile "$profile" "$@" echo "Betterbird profile not found: $profile" >&2
exit 1
fi fi
exec ${betterbird}/bin/betterbird "$@" exec ${betterbird}/bin/betterbird --profile "$profile" "$@"
''; '';
}; };
nasaApodWallpaper = pkgs.writeShellApplication { nasaApodWallpaper = pkgs.writeShellApplication {