fix: betterbird profiles
This commit is contained in:
parent
9db34f53de
commit
4b5a0a19de
1 changed files with 4 additions and 3 deletions
|
|
@ -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 {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue